/*File: additional_style.css*/

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

.background-main {
    background: linear-gradient(180deg, #091F34 0%, #041728 100%);
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.pcoded-content {
    position: relative;
    display: block;
    padding: 30px 15px;
}

.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%;
}

body.dark .pcoded-main-container {
  position: relative;
  margin: 0 auto;
  display: block;
  clear: both;
  float: unset;
  right: 0;
  min-height: 100vh;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(180deg, #091F34 0%, #041728 100%);
}

.header-text {
    color: #FFFFFF;
    font-family: Open Sans;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    word-wrap: break-word;
    margin-bottom: 1.5rem ;
    text-align: center;
}

.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 */
}

.container {
    max-width: 100% !important;
}

.top {
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.middle {
    height: 40%;
}

.bottom {
    height: 30%;
}

.dynamic-grid-card {
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: linear-gradient(109deg, rgba(201, 201, 201, 0.075) 1.57%, rgba(196, 196, 196, 0.01) 100%);
    backdrop-filter: blur(30px);
    padding: 2rem;
    width: 100%;
    display: grid;
    grid-gap: 2rem;
    grid-auto-rows: min-content;
}

.filter-rounded-card-container {
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background-color: #091F34;
    padding: 2rem;
    width: 80%;
    max-width: 90%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-auto-rows: min-content;
}

.modal {
    background: rgba(0, 0, 0, 0.5) !important;
}

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

.label-medium {
    color: #FFFFFF;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: block;
    margin-bottom: 5px;
}

.label-small {
    color: #FFFFFF;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

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

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

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

.toggle-switch {
    background-color: black!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: black !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;
}

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

.btn-submit-container-right .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;
}

/* mobile collapsed table design */
.mobile-collapsed-table {
    background: #1B2E40;
    border-radius: 10px 10px 0px 0px;
    border-collapse: collapse;
    position: relative;
}

.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-row {
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.20);
    font-size: 14px;
}

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

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

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

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

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

.mobile-collapsed-table-row-details {
    display: none;
    padding: 10px;
    font-size: 14px;
    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(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: #FFFFFF !important;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
    opacity: 0.7;
}

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

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

/* chart slider stylings */
/* Container for the slider */
.sliderContainer {
    padding: 20px 30px 20px 20px;
    background: #152738;
    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 12px; /* More rounded corners for a modern feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Softer, deeper shadow for depth */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style for the date range slider */
.dateRangeSlider {
    width: 100%;
    height: 10px; /* Slightly taller slider for better visibility */
    border-radius: 10px; /* Rounded edges */
    background: #152738; /* Non selected part of slider */
    cursor: pointer; /* Change cursor to pointer to indicate interactivity */
}

/* Slider handle (thumb) styling */
.dateRangeSlider .noUi-handle {
    background-color: #ffffff; /* White handle */
    border: 2px solid #4e73df; /* Blue border for better contrast */
    border-radius: 50%; /* Keep the round shape */
    width: 24px; /* Slightly bigger handle for better accessibility */
    height: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer shadow to make the handle stand out */
    transition: all 0.2s ease-in-out; /* Smooth transition on hover or drag */
}

.dateRangeSlider .noUi-connect {
    background: #3FB8AF; /* Selected part of slider */
}

/* Active slider handle (when dragging) */
.dateRangeSlider .noUi-handle:active {
    background-color: #3FB8AF; /* Darker blue when active */
    border-color: #1e3d8f; /* Darker border when active */
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2); /* Slightly bigger shadow when active */
}

/* Tooltips for the slider */
.noUi-tooltip {
    background-color: #152738 !important; /* Dark background for tooltip */
    color: #FFFFFF !important; /* White text */
    font-size: 14px; /* Increase font size for better readability */
    font-weight: 600 !important;
    border-radius: 5px !important; /* Round the tooltip edges */
    padding: 8px 12px; /* Add more padding for a more spacious look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow to give depth */
    opacity: 1 !important; /* Fully visible on page load */
}

/* Smooth transition on the slider */
.dateRangeSlider {
    transition: all 0.3s ease;
}

/* Smooth changes when dragging the handle */
.dateRangeSlider .noUi-handle {
    transition: all 0.3s ease;
}

/* Tooltip fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.5;
    }
}

.noUi-handle:after, .noUi-handle:before {
    content: none !important;
}

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

@media (min-width: 992px) {
    .web-view-element {
        display: block !important;
    }

    .mobile-view-element {
        display: none !important;
    }

    .mobile-view-element.d-flex {
        display: none !important;
    }
}

@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%;
    }

    /* Modify the dynamic-grid-card for mobile view */
    .dynamic-grid-card {
        overflow: hidden;
        padding: 1rem;
    }

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

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

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

    .mobile-view-element {
        display: block !important;
    }

    .web-view-element {
        display: none !important;
    }

    .web-view-element.d-flex {
        display: none !important;
    }

    .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;
    }

    .top {
        height: 15%;
    }

    .middle {
        height: 55%;
    }

    .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 */
    }

    .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 */
    }

    /*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;
    }
}

.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;
    background-color: #3f4d67 ;
}

body.dark .sticky-header .sticky-column {
    background-color: #0f2537 ;
}

.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 */
    background-color: white;
}

body.dark .sticky-column {
    background-color: #2c394b;
}
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 {
    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;
}

.export-btn-parent {
    background-color: #117a8b !important;
    border-color: #10707f !important;
    white-space: nowrap !important;
}

th {
    background-color: #3f4d67;
    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-color: #071D31 !important;
    color: black;
    gap: 15px !important ;
}

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

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

.custom-dropdown {
    appearance: none; /* Removes default styles */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><path fill="%23ffffff" d="M5 6L0 0h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px; /* Makes arrow smaller */
    padding-right: 28px; /* Ensure text doesn’t overlap with the arrow */
    border-radius: 6px; /* Softens the corners */
}


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

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

.flatpickr-month,
.flatpickr-current-month,
.flatpickr-monthDropdown-month,
.flatpickr-monthDropdown-month 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;
}

/* css for ai agent page started */

:root {
    --ai-agent-gap: 8px;
    --ai-agent-message-icon-container-size: 35px;
    --ai-agent-message-icon-size: 21px;
}

.fa-user {
    font-size: var(--ai-agent-message-icon-size);
}

@media (min-width: 992px) {
    :root {
        --ai-agent-message-icon-container-size: 50px;
        --ai-agent-message-icon-size: 30px;
    }
}

.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.60px;
    font-family: Inter;
    font-weight: 600;
    line-height: 10.40px;
    word-wrap: break-word;
    margin-bottom: 1rem;
    color: black;
}

.ai-agent-greeting-subtext {
    font-size: 12.80px;
    font-family: Inter;
    font-weight: 600;
    line-height: 22.40px;
    word-wrap: break-word;
    margin-bottom: 2rem;
    color: black;
}

.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%;
    background-color: white;
}

@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; }
}

/* css for ai agent page completed */

/* css for horizontal_navigation started */
.custom-navbar {
    background: rgb(26, 45, 66);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.custom-navbar .navbar-toggler {
    border: none;
}

.custom-navbar .navbar-brand img {
    background-color: transparent !important;
}

.logout-btn {
    color: #ffffff !important;
    background-color: transparent;
    border-radius: 8px;
    padding: 0.45rem 1.4rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* css for horizontal_navigation completed */

.horizontal-navbar-nav-link {
  display: flex;
  align-items: center;
  gap: 20px;
  align-items: center;
  font-family:"Open Sans";
}

.horizontal-navbar-nav-link .nav-link{
padding: 0 25px;
}

.horizontal-navbar-hamburger{
    display: none;
}

.horizontal-navbar-nav-link .hamberger-logo1{
    display: none;
}
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper {
  position: relative;
  display: inline-block;
  padding: 0px 10px;
}

.horizontal-navbar-nav-link .dropdown-label {
  display: inline-block;
  color: white;
  cursor: pointer;
}

.horizontal-navbar-nav-link .caret-icon {
  transition: transform 0.3s ease;
  margin-top: 5px;
  margin-left: 7px;
}

.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  width: 200%;
  flex-direction: column;
  /*padding: 10px !important;*/
  margin-top: 0px;
}
/*set that sub dropdown should open at left*/
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .dropdown-menu .navigation-panel-dropdown-wrapper1 .dropdown-menu1{
    display: none !important;
      position: absolute !important;
      top: 0 !important;          /* align with parent */
      left: auto !important;      /* reset left */
      right: 100% !important;     /* 👈 push to the left side */
      z-index: 9999!important;
      width: 200px !important;    /* set width (not 100% so it doesn't collapse) */
      min-width: 180px;
      flex-direction: column;
      padding: 0px !important;
      margin-top: 0px;
      background-color: #081E31;
    }
.horizontal-navbar-nav-link
.navigation-panel-dropdown-wrapper
.dropdown-menu
.navigation-panel-dropdown-wrapper1:hover
> .dropdown-menu1 {
    display: block !important;
    border: 1px solid #ccc;/* was 'contents' */
    border-right: none;
}

.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .navigation-panel-dropdown-wrapper1 {
  position: relative !important; /* ADDED */
}
.horizontal-navbar-nav-link
.navigation-panel-dropdown-wrapper
.navigation-panel-dropdown-wrapper1 .caret-icon {
  transform: rotate(0deg) !important;
}
.horizontal-navbar-nav-link
.navigation-panel-dropdown-wrapper
.navigation-panel-dropdown-wrapper1:hover .caret-icon {
    transform: rotate(90deg) !important; /* points left */
    color: skyblue ;
    transition: transform 0.3s ease;
}
/*open the dropdown */
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper:hover .dropdown-menu{
  display:inline-block;
  border: 1px solid #ccc;
  background-color: #192D41 !important;
}
/*rotate the caret icon on main dropdown */
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper:hover .caret-icon {
  color: skyblue;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
/*default caret icon */
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .navigation-panel-dropdown-wrapper1 .caret-icon {
  transition: transform 0.3s ease ;
  transform: rotate(0deg);
  margin-top: 5px ;
  margin-left: 7px ;
  color: white ;
}

.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .navigation-panel-dropdown-wrapper1:hover .caret-icon {
  color: skyblue ;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .dropdown-menu .navigation-panel-dropdown-wrapper1:hover .dropdown-menu1{
  display: contents ;
  background-color: #081E31 ;
}

.navigation-panel-dropdown-wrapper1{
  padding: 8px ;
  background-color: #192D41 !important;
}
.horizontal-navbar-nav-link .dropdown-menu a {
  color: white;
  padding: 10px 16px 8px 16px;
  text-decoration: none;
  display: block;
  background-color: #081E31;
}

.horizontal-navbar-nav-link .dropdown-menu.single a {
  background-color: #192D41 !important; /* your custom color */
}

.horizontal-navbar-nav-link .dropdown-menu.single a:hover {
  background-color: #007989 !important; /* your custom color */
}

.horizontal-navbar-nav-link .dropdown-menu a:hover {
  background-color: #007989;
}




.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper:hover .single{
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #081E31;
        padding: 0;
        position: static;
}
.horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper:hover .location-dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    width: 200%;
    flex-direction: column;
    padding: 10px !important;
    margin-top: 0px;
        display: inline-block;
    border: 1px solid #ccc;
    background-color: blue !important;
}
.horizontal-navbar-nav-link .single a
 {
    color: white;
    display: block;
    background-color: rgb(8, 30, 49);
    padding: 10px 16px 8px;
    text-decoration: none;
}

/* MOBILE STYLES */
@media (max-width: 1023px) {


    /* ✅ Default (desktop) → open to LEFT */
    .horizontal-navbar-nav-link
    .navigation-panel-dropdown-wrapper
    .dropdown-menu
    .navigation-panel-dropdown-wrapper1
    .dropdown-menu1 {
        position: absolute;
        top: 0;
        left: auto;
        right: 100%; /* open to LEFT */
        display: none;
        min-width: 180px;
        z-index: 9999;
        background-color: #081E31;
    }

    /* ✅ Show on hover */
    .horizontal-navbar-nav-link
    .navigation-panel-dropdown-wrapper
    .dropdown-menu
    .navigation-panel-dropdown-wrapper1:hover
    > .dropdown-menu1 {
        display: block;
        border: none !important;
    }
}
/* 📱 Mobile override: open BELOW instead of LEFT */
@media (max-width: 768px) {
  .horizontal-navbar-nav-link
  .navigation-panel-dropdown-wrapper
  .dropdown-menu
  .navigation-panel-dropdown-wrapper1
  .dropdown-menu1 {
    position: relative !important;   /* stacked below */
    top: auto !important;
    right: auto !important;
    left: 0 !important;
    display: none !important;
    width: 100% !important;          /* full width like main dropdown */
  }

  /* show when parent is toggled */
  .horizontal-navbar-nav-link
  .navigation-panel-dropdown-wrapper
  .dropdown-menu
  .navigation-panel-dropdown-wrapper1:has(input:checked)
  > .dropdown-menu1 {
    display: block !important;
  }
  .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .navigation-panel-dropdown-wrapper1 .caret-icon {
        transform: rotate(0deg) !important;
    }
.horizontal-navbar-nav-link
.navigation-panel-dropdown-wrapper
.navigation-panel-dropdown-wrapper1:hover .caret-icon {
    transform: rotate(180deg) !important; /* points left */
    color: skyblue ;
    transition: transform 0.3s ease;
}

    .custom-navbar .navbar-brand img{
        margin-left: 20px;
    }
    .horizontal-navbar-nav-link .hamberger-logo1{
        display: block;
        margin-top: -70px;
    }

    .horizontal-navbar-nav-link {
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color:#041829;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .dropdown-menu {

        margin-top: 10px;
    }
    .horizontal-navbar-nav-link .nav-link{
        padding: 0px 25px;
    }
    .horizontal-navbar-hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 28px;
        color: white;
        z-index: 1100;
        cursor: pointer;
    }
    .horizontal-navbar-hamburger::before {
        content: "\2630";
    }

    #horizontal-navbar-menu-toggle:checked + .horizontal-navbar-hamburger::before {
        content: "\2715";
    }

    #horizontal-navbar-menu-toggle:checked ~ .horizontal-navbar-nav-link {
        transform: translateX(0%);
    }
   .horizontal-navbar-nav-link .dropdown-label:hover .caret-icon {
        color: white;
        transform: rotate(0deg);
    }
    .navigation-panel-dropdown-wrapper input:checked + .dropdown-label .caret-icon {
        transform: rotate(180deg);
        color: skyblue;
    }
    .navigation-panel-dropdown-wrapper .navigation-panel-dropdown-wrapper1 input:checked + .dropdown-label .caret-icon {
        transform: rotate(180deg);
        color: skyblue;
    }
    .navigation-panel-dropdown-wrapper .navigation-panel-dropdown-wrapper1 .dropdown-label .caret-icon {
        transform: rotate(0deg);
        color: white;
    }
    .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper {
        width: 100%;
    }
    .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper1 .dropdown-label {
        background-color: #182D40 !important;
        border-top:1px solid #182D40 !important ;
    }
    .horizontal-navbar-nav-link .dropdown-label {
        width: 100%;
        background-color: #041829;
        color: white;
        padding: 0px 15px;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        border-top: 1px solid #011627;
    }

    .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper .dropdown-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #081E31;
        padding: 0;
        position: static;
    }

    .horizontal-navbar-nav-link
    .navigation-panel-dropdown-wrapper
    input:checked + .dropdown-label + .dropdown-menu {
        display: block;
    }
    .navigation-panel-dropdown-wrapper1 .dropdown-menu1 {
        display: none !important;
        background-color: #182D40 !important;
        padding-left: 12px !important; /* optional indent */
    }

    .navigation-panel-dropdown-wrapper1 input:checked + .dropdown-label + .dropdown-menu1 {
        display: contents !important;
    }
    /* .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper2 input:checked + .dropdown-label + .dropdown-menu2 {
        display: flex !important;
    } */

    .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper input:checked + .dropdown-label + .dropdown-menu a:hover {
       background-color: #007989;
    }
    /* Caret rotation on open */

    .navigation-panel-dropdown-wrapper[open] .caret-icon {
        transform: rotate(180deg);
    }

    .horizontal-navbar-nav-link .dropdown-menu a {
        width: 100%;
        padding: 10px 20px;
        color: white;
        background-color: #081E31;
        text-decoration: none;
    }

    .horizontal-navbar-nav-link .dropdown-menu a:hover {
        background-color: #011627;
    }

    /* Remove hover dropdown for mobile */
    .horizontal-navbar-nav-link .navigation-panel-dropdown-wrapper:hover .dropdown-menu {
        display: none;
    }
}
body.dark .select2-container--default .select2-selection--single {
    background-color: #2c394b !important;
}

body.dark .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    background: #06182A;
    padding: 15px;
    border-radius: 7px;
    border: 1px rgba(255, 255, 255, 0.6) solid;
}

body.dark .select2-container--default .select2-selection--multiple{
    color: #fff !important;
    background: #06182A;
    padding: 15px;
    border-radius: 7px;
    border: 1px rgba(255, 255, 255, 0.6) solid;
}

body.dark .select2-container--default .select2-selection--multiple .select2-selection__choice{
    background: #29415c;
}

body.dark .select2-dropdown {
    background-color: #2c394b !important;
}

body.dark .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #082032 !important;
}

body.dark .select2-container--default .select2-results__option--selected {
    background-color: #2c394b !important;
}

body.dark .select2-container--default .select2-selection--single {
    border: none;
}

body.dark .select2-container {
    background: #001325FF;
    backdrop-filter: blur(60px);
    display: block;
    margin-top: 8px !important;
    width: 100%;
}

body.dark .select2-selection__placeholder{
    color: #FFFFFF !important;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    opacity: 0.7;
}

body.dark .select2-selection__arrow{
    top: 17px !important;
}

.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;
    }
}

.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: #1a364e;
}

.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: #1a364e;
}

.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: #FFF;
    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 */
}

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

.mobile-stacked-table-data::before {
    content: ":";
    color: #FFFFFF;
    width: 20%;
    display: inline-flex;
    align-items: center;
}
