/*File: additional_style.css*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');


/* Top bar background color */
body.dark .pcoded-header > .collapse:not(.show) {
    background-color: #172B3E !important;
}

/* Top bar mobile icon to open sidebar for mobile */
#mobile-collapse1 {
    right: 18px !important;
}

/* Side bar background color */
body.dark .pcoded-navbar, body.dark .navbar-brand {
    background-color: #172B3E !important;
}


/* -------------- Side bar styling start----------- */

/* Make side bar non-scrollable */
.pcoded-navbar {
    display: flex;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    overflow: hidden !important;
    z-index: 9999 !important;
}

.navbar-content.scroll-div {
    height: 100% !important;
}

/* Flex settings for the navbar */
.pcoded-navbar .navbar-content {
    flex-grow: 1; /* Allows this area to grow and take up space */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Initially hide the theme profile container */
.theme-profile-outer {
    display: none;
    margin-top: auto; /* Push it to the bottom of the container */
}

/* When the navbar is hovered, display the theme profile container */
.pcoded-navbar.navbar-collapsed:hover .theme-profile-outer {
    display: flex;
}

.theme-profile-outer {
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    padding: 10px 5px;
    width: 100%;
    background-color: #1B2E40;
}

.theme-profile-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #FFFFFF !important;
}

.theme-profile-inner a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    padding: 5px;
}

.theme-profile-inner a:hover {
    text-decoration: none;
    background-color: #0A1D2A;
    color: #FFFFFF;
}

.theme-profile-text:hover {
    text-decoration: none;
}

/* Label for switch button */
.theme-switch-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 100%;
    padding: 5px;
}

.theme-switch-label:hover {
    background-color: #0A1D2A;
}

.theme-profile-text {
    color: #FFFFFF !important;
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
}

.theme-profile-icon-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: #091E33;
}
/* -------------- Side bar styling end----------- */

.pcoded-navbar {
    -webkit-box-shadow: 1px 0 15px 0 rgba(63, 77, 103, 0.4) !important;
    box-shadow: 1px 0 15px 0 rgba(63, 77, 103, 0.8) !important;
}

/* background color */
body.dark .pcoded-main-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #091F34 0%, #041728 100%);
}

/* Header */
.pcoded-header {
    padding: 0 !important;
    font-size: 1rem !important;
    font-family: "Open Sans", sans-serif !important;
}

.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem;
}

.circle-design-1 {
    width: 15vw;
    height: 15vw;
    position: fixed;
    right: 6%;
    top: -20vh;
    border-radius: 50%;
    border: 1px solid #FFF;
    opacity: 0.2;
}

.circle-design-2 {
    width: 15vw;
    height: 15vw;
    position: fixed;
    right: -1%;
    top: -25vh;
    border-radius: 50%;
    opacity: 0.2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 74.03%, rgba(255, 255, 255, 0.40) 100%);
}

.circle-design-3 {
    width: 15vw;
    height: 15vw;
    position: fixed;
    left: -9%;
    top: 90%;
    border-radius: 50%;
    border: 1px white solid;
    opacity: 0.20;
}

.circle-design-4 {
    width: 15vw;
    height: 15vw;
    position: fixed;
    left: 0%;
    top: 90%;
    opacity: 0.20;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 74.03%, rgba(255, 255, 255, 0.40) 100%);
    border-radius: 50%;
}

.container-padded {
    width: 80%;
}

.header-text {
    font-family: "Open Sans";
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    word-wrap: break-word;
    text-align: center;
    margin-bottom: 0;
}

body.dark .header-text {
    color: #FFFFFF;
}

.container-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--container-height, 100vh); /* Default to 90vh, but can be overridden */
    overflow: visible; /* Allows scrolling if content exceeds height */
}

.rounded-card {
    border-radius: 27px;
    width: 100%;
    grid-gap: 2rem;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

body.dark .rounded-card {
    background-color: #1B2E40;
    border: 1px solid rgba(255, 255, 255, 0.40);
}

.rounded-card-only {
    border-radius: 27px !important;
    padding: 2rem;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .125) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
}

body.dark .rounded-card-only {
    background-color: #1B2E40;
    border: 1px solid rgba(255, 255, 255, 0.40);
}

.rounded-card-modal {
    display: flex;
    flex-direction: column;
    border-radius: 27px !important;
    padding: 2rem;
    height: fit-content !important;
    border: 1px solid rgba(0, 0, 0, .125) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
    color: #888 !important;
    max-width: 100%;
}

.rounded-card-modal.modal-content-outer {
    background-color: #FFFFFF !important;
    color: #888 !important;
}

.rounded-card-modal.modal-content-outer .close {
    color: #888 !important;
}

body.dark .rounded-card-modal.modal-content-outer .close {
    color: #FFFFFF !important;
}

body.dark .rounded-card-modal.modal-content-outer {
    background-color: #1B2E40 !important;
    color: #FFFFFF !important;
}

body.dark .rounded-card-modal {
    border: 1px solid rgba(255, 255, 255, 0.40);
    color: #FFFFFF;
}

.modal-content-outer {
    background-color: #2c394b !important;
    width: 85% !important;
    height: 70% !important;
    border: 1px solid #888 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    color: white !important;
    box-sizing: border-box !important;
    position: relative !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    backdrop-filter: blur(2px);
    z-index: -1;
}

.card-textbox {
    padding: 15px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(60px);
    display: block;
    width: 100%;
    margin-top: 8px;
    gap: 30px;
}

body.dark .card-textbox {
    background: #001325;
    border: 1px rgba(255, 255, 255, 0.81) solid;
}

.label-large {
    font-family: "Open Sans";
    font-size: 32px !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: block;
    margin-bottom: 5px;
}

body.dark .label-large {
    color: #FFFFFF !important;
}

.label-medium {
    font-family: "Open Sans";
    font-size: 26px !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: block;
    margin-bottom: 5px;
}

body.dark .label-medium {
    color: #FFFFFF !important;
}

.label-small {
    font-family: "Open Sans";
    font-size: 20px !important;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

body.dark .label-small {
    color: #FFFFFF !important;
}

.label-data {
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    opacity: 0.7;
}

.label-icon {
    font-size: 1rem;
    color: #FFFFFF !important;
    margin-bottom: 0 !important;
}

body.dark .label-data {
    color: #FFFFFF !important;
}

.anchor-blue {
    cursor: pointer;
    color: #007bff !important;
}

.anchor-blue:hover {
    text-decoration: underline;
}

.rounded-card-table {
    padding: 1.25rem;
}

body.dark .rounded-card-table {
    background: #081D31 !important;
}

.transparent-no-width {
    background-color: transparent !important; /* No background */
    border: transparent !important;
    padding: 0 !important;
}

.header-border-bottom {
    border-bottom: 2px solid black;
    color: black;
    text-align: center;
    font-size: clamp(1rem, 1.5vw + 0.8rem, 2rem);
    font-weight: bold;
}

.rounded-card.card-social {
    padding: 1rem 1rem 0 1rem !important;
}

body.dark .header-border-bottom {
    border-bottom: 2px solid white;
    color: white !important;
}

body.dark .breadcrumb {
    background-color: #1B2E40 !important;
}

.feedback-input {
    min-height: 250px;
}

.btn-submit-container-right {
    display: flex;
    width: 25%;
    margin-left: 75%;
    gap: 20px;
}

.btn-submit-container-right .btn {
    flex-grow: 1;
    padding: 10px 20px;
}

.export-dropdown {
    margin-bottom: 0.5rem;
}

.export-btn-parent {
    color: #111111 !important;
    background-color: #f4f7fa !important;
    border: 1px solid rgba(0, 0, 0, .125) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
    font-family: "Open Sans" !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 0.5rem 1rem !important;
}

body.dark .export-btn-parent {
    color: #FFFFFF !important;
    background-color: #081D31 !important;
    border: 1px solid rgba(255, 255, 255, 0.40) !important;
}

.form-check-toggle {
    margin: 0 10px 0 20px;
    transform: scale(1.2);
}

.toggle-switch {
    background-color: #f44336 !important;
    border-color: #f44336 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.toggle-switch:checked {
    background-color: #4caf50 !important;
    border-color: #4caf50 !important;
}

.btn-submit-container {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-left: 50%;
    gap: 20px;
    padding-top: 0.75rem;
}

.btn-submit-container .btn {
    flex-grow: 1;
    padding: 10px 20px;
}

#resetButton {
    flex-basis: 30%;
}

#submitButton {
    flex-basis: 70%;
}

/* --- pump-data-seeker.html --- */

.header-text-green {
    color: #1BC344 !important;
    font-family: "Open Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 1.5rem ;
    text-align: center;
}

.hidden {
    display: none;
}

.btn-primary, .btn-outline-light {
    white-space: nowrap;
}

/* Adjust styles for the select options */
select option {
    background-color: #001325;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: 12px 20px;
    border: 5px solid #fff !important;
    border-radius: 6px;
}

/* Selected option styling */
select option:checked {
    background: #2D4965;
}


/* --- media queries --- */

@media (max-width: 991.98px) {
    .circle-design-1 {
        display: none;
    }

    .circle-design-2 {
        display: none;
    }

    .circle-design-3 {
        display: none;
    }

    .circle-design-4 {
        display: none;
    }

    .container-center {
        margin: 1rem 0 1rem 0;
    }

    .container-padded {
        width: 90%;
    }

    .theme-profile-outer {
        display: flex !important;
    }

    /* Stack the rows as a single column */
    .rounded-card .row {
        display: flex;
        width: 100%;
        --bs-gutter-x: 0;
    }

    /* Ensure the columns span the full width of the screen */
    .rounded-card .col-6,
    .rounded-card .col-4 {
        width: 100%;           /* Take up the full width of the screen */
        margin-bottom: 1.5rem; /* Add space between form elements */
    }

    .rounded-card.mt-5 {
        margin-top: 0rem !important;
    }

    .rounded-card .card-body {
        place-items: center;
    }

    .modal-content .rounded-card-table {
        width: fit-content !important;
    }

    body.dark .label-large {
        font-size: 24px !important;
    }

    .label-large {
        font-size: 24px !important;
    }

    body.dark .label-medium {
        font-size: 20px !important;
    }

    .label-medium {
        font-size: 20px !important;
    }

    body.dark .label-small {
        font-size: 16px !important;
    }

    .label-small {
        font-size: 16px !important;
    }

    .btn-submit-container-right {
        display: flex;
        justify-content: flex-end;
        width: 25%;
        gap: 20px;
        padding-top: 0.75rem;
    }

    .btn-submit-container-right .btn {
        flex-basis: 50% !important;
        padding: 10px 15px; /* Optional: reduce padding on smaller screens */
    }

    .d-flex {
        display: flex;  /* Ensure inner container uses flexbox */
        width: 100%;
    }

    .ml-auto {
        margin-left: auto;  /* Push the second div to the right */
    }

    .header-text {
        font-size: 26px;
        margin-bottom: 0;
    }

    .header-text-green {
        font-size: 20px !important;
    }

    .label-data {
        font-size: 16px !important;
        opacity: 0.7 !important;
    }

    .btn-submit-container {
        width: 100% !important; /* Make the container take up full width */
        margin-left: 0 !important; /* Remove centering, take full width */
        padding-top: 0.75rem;
    }

    .btn-submit-container .btn {
        flex-basis: 50% !important; /* Each button takes up 50% width */
        padding: 10px 15px; /* Optional: reduce padding on smaller screens */
    }

    .leafmap-container {
        height: 400px !important;
    }

    /*Sticky column for mobile view*/
    .mobile-view-sticky-column {
        z-index: 2;
        background-color: white;
        position: sticky;
        left: 0 !important; /* Keeps it fixed to the left */
        border-right: 1px solid black; /* Optional: visual separation */
    }

    .sticky-header .mobile-view-sticky-column {
        z-index: 4 !important;
    }

    body.dark .sticky-header .mobile-view-sticky-column {
        background-color: #3f4d67 ;
    }

    body.dark .mobile-view-sticky-column {
        background-color: #082032;
    }

    .rounded-card-modal .rounded-card {
        padding-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    .modal-content-outer {
        width: 90% !important;
    }

    #modalTable:not(.mobile-collapsed-table) thead th:first-child {
        position: sticky;
        left: 0;
        z-index: 3 !important;  /* Ensure the sticky cell appears above other cells */
    }

    #modalTable:not(.mobile-collapsed-table) tbody td:first-child {
        position: sticky;
        left: 0;
        background-color: #081D31 !important;  /* To ensure it appears on top */
        z-index: 3 !important;  /* Ensure the sticky cell appears above other cells */
    }

    #modalTable:not(.mobile-collapsed-table) thead {
        z-index: 4 !important;  /* Keeps the header above the sticky column */
    }
}

.mobile-stacked-table-rounded-card {
    display: flex;
    padding: 9px;
    flex-direction: column;
    gap: 15px;
    align-self: stretch;
    border-radius: 27px;
    border: 1px solid rgba(0, 0, 0, .125);
    background: #f4f7fa;
}

body.dark .mobile-stacked-table-rounded-card {
    background: #1b2e40;
}

.mobile-stacked-table-card {
    display: flex;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    margin-bottom: 15px;
    border-radius: 17px;
    background: #FFFFFF;
}

body.dark .mobile-stacked-table-card {
    background: #091E33;
}

.mobile-stacked-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* First column takes up half, second takes auto space */
    grid-gap: 10px;  /* Space between label/colon and value */
    align-items: center;  /* Vertically align content */
    width: 100%;
}

.mobile-stacked-table-column {
    color: #111111;
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;  /* Vertically align the text within the column */
}

body.dark .mobile-stacked-table-column {
    color: #FFF;
}

.mobile-stacked-table-data {
    color: #111111;
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    display: flex;
    align-items: center;  /* Centers the content vertically */
}

body.dark .mobile-stacked-table-data {
    color: #FFF;
}

.mobile-stacked-table-data::before {
    content: ":";
    color: #111111;
    width: 20%;
    display: inline-flex;  /* Ensures the colon is treated as part of the inline flow */
    align-items: center;  /* Ensures the colon is centered with the text */
}

body.dark .mobile-stacked-table-data::before {
    color: #FFFFFF;
}

.mobile-collapsed-table {
    background: #FFFFFF;
    border-radius: 10px 10px 0px 0px;
    border-collapse: collapse;
    position: relative;
}

body.dark .mobile-collapsed-table {
    background: #1B2E40;
}

.mobile-collapsed-table-header {
    padding: 10px;
    position: sticky; /* This is key for making the header sticky */
    top: 0; /* Keeps the header at the top when scrolling */
    z-index: 1; /* Ensures the header stays on top of other content */
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow under the sticky header */
}

.mobile-collapsed-table-header th {
    color: #FFF !important;
    font-family: "Open Sans" !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: normal;
    text-align: left;
}

.mobile-collapsed-table-header th:first-child {
    border-radius: 10px 0px 0px 0px;
}

.mobile-collapsed-table-header th:last-child {
    border-radius: 0px 10px 0px 0px;
}

.mobile-collapsed-table-header th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.20); /* Add a border on the right for non-last header cells */
}

.mobile-collapsed-table-row td:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.20); /* Add a border on the right for non-last data cells */
}
.mobile-collapsed-table-details-value {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.mobile-collapsed-table-row {
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(0, 0, 0, .125);
    font-size: 14px;
}

.mobile-collapsed-table-row svg rect {
    stroke: #111111;
}

body.dark .mobile-collapsed-table-row svg rect {
    stroke: #FFFFFF;
}

.mobile-collapsed-table-row svg path {
    fill: #111111;
}

body.dark .mobile-collapsed-table-row svg path {
    fill: #FFFFFF;
}

body.dark .mobile-collapsed-table-row {
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.mobile-collapsed-table-row td {
    color: #111111 !important;
    font-family: "Open Sans" !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: normal;
    text-align: left;
}

body.dark .mobile-collapsed-table-row td {
    color: #FFFFFF !important;
}

.mobile-collapsed-table-row td.anchor-blue {
    color: #007bff !important;
}

body.dark .mobile-collapsed-table-row td.anchor-blue {
    color: #007bff !important;
}

.mobile-collapsed-table-row-details {
    display: none;
    padding: 10px;
    font-size: 14px;
    background-color: #f4f7fa;
}

body.dark .mobile-collapsed-table-row-details {
    background-color: #0f2537;
}

.mobile-collapsed-table-row-details td {
    padding: 10px;
    text-align: left;
    width: 100%; /* Ensure it spans the entire table width */
    box-sizing: border-box; /* Prevent padding from affecting the width */
    border: 1px solid rgba(0, 0, 0, .125);
}

body.dark .mobile-collapsed-table-row-details td {
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.mobile-collapsed-table-details-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* Equal-width columns, dynamically adjusting */
    grid-gap: 10px;
    align-items: center;
    width: 100%;
    padding: 5px;
}

.mobile-collapsed-table-details-column {
    color: #111111 !important;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
    opacity: 0.7;
}

body.dark .mobile-collapsed-table-details-column {
    color: #FFFFFF !important;
}

.mobile-collapsed-table-details-column::after {
    content: ":";
    color : #111111;
    margin-left: 5px; /* Adds space between the label and colon */
    position: absolute;
}

body.dark .mobile-collapsed-table-details-column::after {
    color : #FFFFFF;
}

.mobile-collapsed-table-details-value {
    color: #111111 !important;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
}

body.dark .mobile-collapsed-table-details-value {
    color: #FFFFFF !important;
}

.toggle-switch {
    width: 2rem;
    height: 1rem;
    transform: scale(1.5);
}

.form-check-toggle {
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.toggle-label {
    font-size: 1.5rem;
}

.sticky-header {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden; /* Prevent content from overflowing */
    z-index: 3!important;
}

.sticky-header th, .sticky-header td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}

.sticky-header .sticky-column {
    z-index: 4 !important;
}

.sticky-column {
    position: sticky;
    left: 0 !important; /* Keeps it fixed to the left */
    z-index: 2; /* Ensures it stays above other elements */
    border-right: 1px solid black; /* Optional: visual separation */
}

.sticky-column {
    background-color: #1a365d;
}
table {
        width: 100%;
        border-collapse: collapse;
        text-align: center;
    }
th, td {
    padding: 12px 15px;
    text-align: center;
}
thead tr {
    background-color: #0f2537;
    color: #ffffff;
    font-weight: bold;
}
tbody tr {
    border-bottom: 1px solid #dddddd;
}
.scrollable-table {
    flex: 1;
    overflow-x: auto; /* Horizontal scrollbar */
    overflow-y: auto; /* Vertical scrollbar */
    max-width: 100%; /* Ensure it doesn't exceed the parent container's width */
    height: 400px; /* Set a fixed height for vertical scrolling */
}
.export-buttons {
    float: right;
    margin-bottom: 10px;
}

th {
    background-color: #1A365D;
    position: sticky;
    top: 0;
}
body.dark .leaflet-control-zoom-in span {
    color: black !important;
}
body.dark .leaflet-control-zoom-out span {
    color: black !important;
}
.leaflet-control-layers .leaflet-control-layers-list .leaflet-control-layers-overlays label span {
    color: black !important;
}

.leaflet-control-attribution {
    display: none !important;
}
.leafmap-container {
    position: relative;
    width: 100%; /* Ensures it fills the available space */
    height: 100%; /* Set a specific height */
    overflow: hidden; /* Prevents content from overflowing */
}

#leafmap-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Fills the parent container's width */
    height: 100%; /* Fills the parent container's height */
}


.export-btn,
.mail-export-btn {
    color: black;
    margin-right: 0;
    width: 100%;
}

.export-btn:hover,
.mail-export-btn:hover {
    background-color: #2c394b;
    color: white;
}

body.dark .export-btn,
body.dark .mail-export-btn {
    color: white;
}

body.dark .export-btn:hover,
body.dark .mail-export-btn:hover {
    background-color: white;
    color: black;
}

body.dark .dropdown-menu {
    background: #2c394b;
    color: black;
}

select.label-data:disabled {
      opacity: 0.7;
}

p.label-data {
    margin-bottom: 0rem;
}

body.dark .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e") !important;
}

body.dark .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='black' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e") !important;
}

 .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-indicators li {
    background-color: #cccccc !important;
}
.carousel-indicators .active{
    background-color: black !important;
}
body.dark .carousel-indicators .active{
    background-color: white !important;
}
@media (max-width: 768px) {
    .select2-container {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
    }
}


/* css for ai agent page */

.ai-agent-chatbot-container {
    display: flex;
    align-items: center;
    height: 50vh;
    width: 100%;
}

.ai-agent-chatbot-content {
    text-align: center;
    margin-top: 0;
    flex-grow: 1;
}

.ai-agent-greeting {
    font-size: 24.6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 0.5rem;
    color: #000;
}

.ai-agent-greeting-subtext {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 2rem;
    color: #333;
}

.jen-name {
    color: #4a90e2;
    font-weight: 600;
}
.ai-agent-prompt-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.ai-agent-prompt-button {
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 42.525px;
    border: 1.35px solid #0B2C4D;
    background: #071D32;
    color: #FFFFFF;
    font-family: Inter;
    font-size: 10.125px;
    font-weight: 500;
    line-height: 16.2px;
    white-space: nowrap;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 174px;
    max-width: calc(33.33% - 0.75rem);
}

.ai-agent-prompt-button:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.ai-agent-ai-agent-input-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ai-agent-input-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.172px;
    background: #153D65;
    border-radius: 23.69px;
    padding: 0.5rem 1rem;
    width: 90%;
    position: fixed;
    bottom: 0.5rem;
}

.ai-agent-input-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: Inter;
    font-size: 12.1px;
    font-style: normal;
    font-weight: 400;
}

.ai-agent-input-bar input::placeholder {
    color: rgba(255, 255, 255, 0.67) !important;
}

.ai-agent-send-query-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.ai-agent-chat-container {
    display: none;
    flex-direction: column;
    gap: 20px;
    max-height: calc(100vh - 70px - 60px - 30px);
    /* subtracting header, outer padding and bottom input size */
    overflow: scroll;
    /* Allows scrolling */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

.ai-agent-chat-message {
    padding: 10px 15px;
    border-radius: 8px;
    max-width: fit-content;
    word-wrap: break-word;
    margin-bottom: 8px;
}

.ai-agent-chat-message.user {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}

.ai-agent-chat-message.bot {
    background-color: #e9ecef;
    color: black;
    align-self: flex-start;
}

.ai-agent-chat-bubble {
    display: flex;
    gap: var(--ai-agent-gap);
}

.ai-agent-chat-bubble.bot {
    justify-content: flex-start;
}

.ai-agent-chat-bubble.user {
    justify-content: flex-end;
}

.ai-agent-message-content {
    padding: 10px 14px;
    border-radius: 12px;
    width: calc(100% - 2 * (var(--ai-agent-message-icon-container-size) + var(--ai-agent-gap)));
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-content: center;
    text-align: left;
}

.ai-agent-message-content.bot {
    color: #FFFFFF;
    text-shadow: 0px 3.664px 4.885px rgba(200, 218, 229, 0.25);
    border-radius: 8.025px 8.025px 8.025px 0px;
    background: #2D4257;
    box-shadow: 0px 4.885px 4.885px 0px rgba(0, 0, 0, 0.25);
}

.ai-agent-message-content.user {
    color: #000000;
    border-radius: 6.862px 6.862px 0px 6.862px;
    background: #C8DAE5;
    box-shadow: 0px 4.177px 4.177px 0px rgba(0, 0, 0, 0.25);
}

.ai-agent-message-avatar {
    width: var(--ai-agent-message-icon-container-size);
    height: var(--ai-agent-message-icon-container-size);
    background-color: rgba(45, 66, 87, 0.6);
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter;
}

.ai-agent-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (min-width: 992px) {
    .ai-agent-greeting {
        font-size: 36px;
        line-height: 24px;
    }

    .ai-agent-greeting-subtext {
        font-size: 18px;
        line-height: 24px;
    }

    .ai-agent-prompt-button {
        font-size: 15px;
        line-height: 24px;
    }

    .ai-agent-chat-container {
        gap: 40px;
    }

    .ai-agent-input-bar {
        margin-left: 20px;
    }

    .ai-agent-input-bar input {
        font-size: 14px;
        line-height: 20px;
    }

    .ai-agent-message-content {
        font-size: 18px;
        line-height: 25px;
        box-shadow: 0px 12.174px 12.174px 0px rgba(0, 0, 0, 0.25);
        width: 60%;
    }

    .ai-agent-message-content.bot {
        border-radius: 20px 20px 20px 0px;

    }

    .ai-agent-message-content.user {
        border-radius: 20px 20px 0px 20px;
    }
}

.loader-dots {
    display: inline-block;
    font-weight: bold;
}
.loader-dots .dot {
    animation: blink 1.5s infinite;
    opacity: 0;
}
.loader-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dots .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

.flatpickr-day:not(.prevMonthDay):not(.nextMonthDay) {
  color: black !important;
}

.flatpickr-weekday {
  color: black !important;
}

.flatpickr-month,
.flatpickr-current-month,
.flatpickr-monthDropdown-month,
.select,
option {
  color: black !important;
}
.flatpickr-input {
    padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.flatpickr-input:focus {
    border-color: #007bff;
    background-color: #ffffff;
    outline: none;
}

.flatpickr-input:focus {
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

.flatpickr-input::placeholder {
    font-style: italic;
}

.flatpickr-input::-webkit-input-placeholder {
    padding-left: 8px;
}

.flatpickr-input::-moz-placeholder {
    padding-left: 8px;
}

.flatpickr-input:-ms-input-placeholder {
    padding-left: 8px;
}

body.dark .flatpickr-input {
    border: 1px solid rgba(255, 255, 255, 0.40);
    background-color: #1b2e40;
    color: #fff;
}

body.dark .flatpickr-input:focus {
    border-color: #66b3ff;
}

body.dark .flatpickr-input::placeholder {
    color: #aaa;
}
.sso-body {
    background-image: url("/static/images/social/oil_field.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Poppins, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.sso-signin-card {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    border-color: #f0f0f0;
    border-style: solid;
    border-width: 0.5px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.sso-signin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 56, 96, 0.22);
    z-index: -1;
}

.sso-signin-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sso-signin-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 300px;
    unicode-bidi: isolate;
    margin-block-end: 1em;
    gap: 10px;
}

.sso-signin-box a{
    text-decoration: none;
}

.sso-signin-button:hover {
    transform: translateY(-2px);
    background-color: rgba(234, 234, 234, 0.9);
}

.sso-button-logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.sso-heading {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
    margin: 10px;
}

.sso-sub-heading {
    color: #ffffff;
}

.sso-small-text {
    font-size: 16px;
    color: #ffffff;
    margin-top: 10px;
}

.sso-company-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    max-height: 100px;
}

.sso-company-logo img {
    width: 100%;
    max-width: 150px;

}


@media (max-width: 768px) {
    .sso-signin-card {
         width: 90%;
        padding: 15px;
    }

    .sso-signin-box {
        flex-direction: column;
    }

    .sso-signin-button {
        width: 300px;
        margin: 10px 0;
    }

    .sso-small-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sso-signin-card {
        padding: 10px;
        width:90%
    }

    .sso-heading {
        font-size: 18px;
    }

    .sso-small-text {
        font-size: 16px;
    }
}

.blog-articles-container {
    padding: 10px;
    height: 500px !important;
    max-height: 500px !important;
}

.blog-articles-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-article-item .time-ago {
    font-size: 0.875rem;
    min-width: 70px;
    text-align: left;
    white-space: nowrap;
}

.blog-article-item .blog-article-link {
    font-family: 'Figtree', 'sans-serif';
    font-weight: 500;
    font-size: 1.15rem;
    text-decoration: none;
    color: black;
}
body.dark .blog-article-item .blog-article-link {
    color: white;
}

.blog-article-item {
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 10px;
}

.blog-article-item:hover {
    background-color: rgba(150, 148, 148, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-article-item:hover .text-muted,
.blog-article-item:hover a {
    color: #3094ff;
}

body.dark .blog-article-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.dark .blog-article-item:hover .text-muted,
body.dark .blog-article-item:hover a {
    color: #3094ff;
}
