html, body { height: 100%; margin: 0; }

body {
    display: flex;
    flex-direction: column;
}

.main { flex: 1; padding-bottom: 2rem; }

footer {
    text-align: center;
    color: #555;
    padding: 1rem;
}

/* PRIMARY BUTTON */
.ui.primary.button {
    background-color: #003EBB !important;
    border-color: #003EBB !important;
    color: white !important;
}

.ui.primary.button:hover {
    background-color: #002f94 !important; /* Darker shade for hover */
    border-color: #002f94 !important;
}

/* BASIC PRIMARY BUTTON */
.ui.basic.primary.button {
    background-color: transparent !important;
    color: #003EBB !important;
}

.ui.basic.primary.button:hover {
    background-color: #003EBB !important;
    color: white !important;
}

.underline-hover {
    text-decoration: none;
}

.b-color {
    color: #003EBB !important;
}

.underline-hover.active {
    text-decoration: underline !important;
    text-underline-offset: 4px;           /* Space between text and underline */
    text-decoration-thickness: 2px;       /* Thickness of the underline */
    background-color: transparent !important;
}

.menu-header {
    border-bottom:none !important;
    padding:8px 1em 4px 1em !important;
    margin: 0px !important;
}

/* default: desktop / tablet — links in a row */
.nav-column {
    display: flex;
    flex-direction: row;
}

/* mobile: stack links vertically */
@media (max-width: 768px) {
    .nav-column {
        flex-direction: column;
        align-items: flex-start;  /* left‑align items in column mode */
        gap: 0.5rem;                /* slightly tighter gap on mobile */
    }

    /* optional: remove left indent inherited from earlier styles */
    .nav-column .nav-item {
        margin-left: 0 !important;
    }
}


/* flatpicker start */

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background-color: #003EBB !important;
}

.flatpickr-months {
    padding: 3px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    margin-right: 24px !important;
}

.flatpickr-current-month {
    font-size: 120% !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background-color: white;
    font-size: medium;
}

.flex-container {
    display: flex;
    justify-content: space-between; /* Items aligned to both left and right */
    align-items: center; /* Center items vertically */
    padding: 15px;
}


/* START agdate-input blue highlight styles */
.agdate-input {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding-right: 4px;
	transition: border-color 0.2s, color 0.2s;
	color: #000;
    max-height: 34px;
}

.agdate-input .agdate-text {
	border: none;
	outline: none;
	background: transparent;
	color: inherit;
    padding: 7px;
}

.agdate-clear-icon {
	color: inherit;
	cursor: pointer;
	padding: 0 5px;
	user-select: none;
	font-weight: bold;
	transition: color 0.2s;
}

.agdate-input.selected {
	border: 1px solid #003EBB;
	color: #003EBB;
}

.agdate-input.selected .agdate-text::placeholder {
	color: #003EBB;
}

.agdate-input.selected .agdate-clear-icon {
	color: #003EBB;
}

.agdate-input.selected .agdate-text {
	color: #003EBB;
}

.agdate-text::placeholder {
    color: #333 !important;
    opacity: 1; /* Optional: ensures full visibility in some browsers */
}

/* END agdate-input blue highlight styles */


/* flatpicker end */

.filter-items {
    justify-content: flex-start;
}

.action-items {
    justify-content: flex-end;
}

.table-checkbox {
    height: 17px;
    width: 17px;
    margin-right: 8px;
}

/* notification */

.notification-popup {
    width: 30rem !important;
}

/* Custom CSS for notify-card */
.notify-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 1em;
    margin-bottom: 1em;
}

.notify-animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.notify-card .header {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.notify-card .description {
    font-size: 1.2em;
    color: #666;
}

.notify-card .content {
    text-decoration: none;
    color: inherit;
}

/* notification */

/* pagination start */

.paginate-pagesize {
    width: 77px;
}

.pagiselect {
    margin-right: 4px !important;
    height: 31px !important;
}

.pagigotodiv {
    height: 34px !important;
}

/* pagination start end */

.mleft {
    margin-left: 5px;
}

.status-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Align items horizontally with space between */
}
.status-text {
    margin-right: 5px; /* Adjust spacing as needed */
}
.pencil-icon {
    color: #888; /* Adjust icon color */
    cursor: pointer; /* Add cursor pointer for better UX */
}


/* tale checkbox */
.column-checkbox {
    margin-right: 5px;
    position: relative;
    display: inline-block;
    width: 16px; /* Adjust size as needed */
    height: 16px; /* Adjust size as needed */
}


/* overall table search start */

.search-container {
    position: relative;
    display: inline-block;
}

/* Styles for the search container */
.csearch-container {
    position: relative;
    display: inline-block;
    margin-right: 10px; /* Adjust margin as needed */
}

/* Styles for the search input */
/* small search box */
.csearch-input {
    padding: 8px 32px 8px 10px; /* Adjust padding as needed */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 250px; /* Adjust width as needed */
    box-sizing: border-box; /* Include padding and border in width */
}

.csearch-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #555;
    cursor: pointer;
}
/* small search box end */

/* big search box */
.csearch-dash-input {
    padding: 8px 12px 8px 40px; /* Adjust padding as needed */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 30rem; /* Adjust width as needed */
    box-sizing: border-box; /* Include padding and border in width */
    height: 42px;
}

.csearch-dash-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #7A7E83;
    cursor: pointer;
    font-weight: 300; /* Lighter font weight for the icon */
}
/* big search box end */

.csearch-icon:hover {
    color: #333; /* Adjust color on hover */
}


/* overall table search end */

.ag-grid-font-size {
    font-size: 14px; /* Adjust the font size to match ag-Grid */
}
.ag-root ::-webkit-scrollbar {
    height: 4px;  /* default is ~16px */
}

.ag-root ::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.ag-root ::-webkit-scrollbar-track {
    background-color: transparent;
}

.options {
    display: flex;
}

.mrleft-10 {
    margin-left: 10px;
}

.date-range-picker {
    width: 280px;
    font-size: 14px;
    height: 35px;
}

.ag-font {
    font-size: 14px;
}

.row-archived{
    background-color: #F0F0F0;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

/* date range picker start*/
/* Style for the input field */
.agdate-input {
    position: relative;
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Similar to ag-Grid */
    font-size: 14px; /* Similar to ag-Grid */
    font-weight: normal; /* Similar to ag-Grid */
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
}

/* Style for the input field with focus */
.agdate-input.focus {
    border: 1px solid #80bdff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Style for the text input */
.agdate-text {
    padding: 6px 10px;
    border: none;
    background-color: transparent;
    width: calc(100% - 5px);
    color: #333;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

/* Style for the clear icon */
.agdate-clear-icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
    color: black;
    transition: color 0.3s;
    font-size: 12px;
}

/* Style for the clear icon on hover */
.agdate-clear-icon:hover {
    color: #888;
}
/* date range picker  end*/


/* dashboard filter div start */

.toggle-filter-div-dash {
    display: flex;
    justify-content: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.toggle-filter-div-dash .options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    gap: 12px;;
}

@media (min-width: 1600px) {
    .toggle-filter-div-dash .options {
        flex-wrap: nowrap;
    }
}


/* dashboard filter div end */

.toggle-filter-div {
    display: none; /* Hide the div by default */
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #ccc;
    border-radius: 4px;
}
/* filter div toggle */


.white-btn {
    color: black;
    background-color: white;
    border-color: lightgrey;
}


/* Toggle button  start*/
.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 26px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: grey;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #003EBB;
}

input:focus + .slider {
    box-shadow: 0 0 1px #003EBB;
}

input:checked + .slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.on {
    display: none;
}

.on {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 39%;
    font-size: 13px;
    font-family: Verdana, sans-serif;
    user-select:none;
}

.off {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 61%;
    font-size: 12px;
    font-family: Verdana, sans-serif;
    user-select:none;
}

input:checked + .slider .on {
    display: block;
}

input:checked + .slider .off {
    display: none;
}

/*--------- END --------*/

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/* toggle button end */

.mr5 {
    margin-right: 5px !important;
}

.mr10 {
    margin-right: 10px !important;
}

.mr20 {
    margin-right: 20px !important;
}

.mb5 {
    margin-bottom: 5px !important;
}

.gt {
    color:gray;
}

.bt {
    color:black;
}

.declaration-form .field-label {
    width: 180px !important;
    text-align: left !important;
    margin-right: 10px !important;
}

.declaration-form .inline.fields .field {
    flex: 1 !important;
}

.ui-form .field-label {
    width: 180px !important;
    text-align: left !important;
    margin-right: 10px !important;
}

.ui-form .inline.fields .field {
    flex: 1 !important;
}

.large-textbox,
.large-selectbox,
.form-textarea,
.form-dropdown {
    width: 450px !important;
}


.required-star {
    color: red;
}
.green-circle-step {
    width: 16px; margin-right: 8px;
}
.circle-step-mini {
    width: 12px; margin-right: 8px;
}

.grey-vertical-line {
    width: 20px; height: 12px; margin-right: 6px; margin-left: 2px;
}

.round-step-container {
    display: flex; align-items: center; justify-content: space-between;  padding: 4px;
}

.veri-toggle-tab-div {
    display: none;
    transition: display 0.5s ease; /* Add transition for smooth opening/closing */
}

.veri-toggle-tab-div.active {
    display: block;
}

.show-file-toggle-div {
    display: none;
    transition: display 0.5s ease; /* Add transition for smooth opening/closing */
}

.show-file-toggle-div.active {
    display: block;
}

.trash-icon{
    width: 13px;
    margin-bottom: -2px;
}


/* Wallet details page CSS start */
#available-balance-container {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 20px;
}

#current-plan, #total-balance {
    width: 48%;
    border-radius: 4px;
    border: 1px solid var(--Gray-200, #D9D9D9);
    background: #FFF;
    padding: 24px 10px;
}

#current-plan h3, #total-balance h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

#current-plan table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#current-plan th, #current-plan td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

#balance {
    margin: 10px 0;
}

#credits {
    font-size: 24px;
    font-weight: bold;
    color: #0044cc;
}

#progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin: 8px 0;
    overflow: hidden;
    position: relative;
}

#progress {
    height: 100%;
    background-color: #003EBB;
    position: absolute;
}

#credit-details {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

#get-more {
    display: inline-block;
    float: right;
    margin-top: 10px;
    font-size: 14px;
    color: #0044cc;
    text-decoration: none;
    font-weight: bold;
}
/* Basic styling for the collapsible section */
.wallet-collapsible-section {
    position: relative;
}

.wallet-collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease; /* Smooth transition for height and padding */
    padding: 0 10px; /* Initial padding is 0 */
}

.wallet-collapsible-section:hover .wallet-collapsible-content {
    max-height: 500px; /* Set to a high enough value to accommodate all items */
    padding: 10px 10px; /* Add padding when expanded */
}

.wallet-item {
    text-align: left;
    padding: 5px 0;
}

.wallet-arrow-icon {
    transition: transform 0.3s ease;
    transform: rotate(270deg); /* Default: arrow points up */
}

.wallet-collapsible-section:hover .wallet-arrow-icon {
    transform: rotate(90deg); /* Downward: arrow points down on hover */
}
/* Wallet details page CSS end */

.cursor-pointer {
    cursor: pointer;
}

.paginationbox {
    text-align: center !important;
}

.no-bold {
    font-weight: normal;
}

.tippy-box {
    background-color: white !important;
}

/* Declaration public details page start */
   .ui.table td {
        border-top: none !important;
    }

.custom-blue-button {
  display: flex;
  width: 112px;
  height: 40px;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #003EBB !important;
  color: white !important;
  font-weight: 500;
  font-size: 14px;
  box-shadow: none;
}
.ui.left.aligned.container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.custom-dropdown {
  position: relative;
}
.custom-dropdown .menu {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
}

.custom-dropdown .menu > .item {
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
}

.custom-dropdown .menu > .item:hover {
  background-color: #f5f5f5;
}

.custom-dropdown .divider {
  height: 1px;
  background-color: #eaeaea;
  margin: 4px 0;
}

.ui.container .actions-items {
  color: #999 !important;
  margin-bottom: 10px;
  display: flex !important;
  cursor: default !important;
}
/* Declaration public details page end */
