@font-face {
    font-family: "Roboto";
    src: url('/Roboto-Regular.ttf') format('truetype');
}

body {
    background: linear-gradient(234.17deg, rgba(25, 68, 153, 0.8) -12.83%, rgba(10, 66, 159, 0.8) 4.82%, rgba(114, 150, 203, 0.8) 100%);
    overflow-y: scroll;
    background-image: url('/Group 8.png');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

h1 {
    font-family: 'Roboto' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 40px !important;
    line-height: 50px !important;
    letter-spacing: -0.01em !important;
    margin-top: 0 !important;
}

h2 {
    font-family: 'Roboto' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 28px !important;
    letter-spacing: -0.01em !important;
    margin-top: 0 !important;
}

h3 {
    font-family: 'Roboto' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 22px !important;
    letter-spacing: -0.01em !important;
    margin-top: 0 !important;
}

.inputGroup {
    position: relative;
    min-width: 10px;
}

/* Floating label */
.float-label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: #8F8F8F;
    position: absolute;
    pointer-events: none;
    left: 11px;
    top: 8px;
    transition: 0.2s ease all;
    background-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

/* Input with floating label */
.float-input {
    width: 100%;
    padding: 6px 12px;
    border: 0.75px solid #8F8F8F;
    line-height: 1.4;
    font-size: 15px;
    outline: none;
    background-color: white;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    color: #555;
    height: 35px;
}

.float-input::placeholder {
    opacity: 0;
}

.float-input:focus::placeholder {
    opacity: 0.5;
}

.float-input:focus~.float-label,
.float-input:not(:placeholder-shown)~.float-label {
    top: -9px;
    left: 10px;
    font-size: 14px;
    color: #8F8F8F;
    background-color: white;
    padding-left: 1px;
    padding-right: 2px;
}

/* Select with floating label */
.float-select {
    width: 100%;
    padding: 6px 12px;
    padding-left: 16px;
    border: 0.75px solid #8F8F8F;
    line-height: 1.4;
    font-size: 15px;
    outline: none;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F8F8F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    cursor: pointer;
    color: #555;
    height: 35px;
}

.float-select:focus~.float-label,
.float-select:valid~.float-label {
    top: -8px;
    left: 10px;
    font-size: 14px;
    color: #8F8F8F;
    background-color: white;
    padding-left: 1px;
    padding-right: 2px;
}

.float-select:focus,
.float-input:focus {
    border-color: #69c;
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

.links {
    color: #194499 !important;
    font-family: 'Open Sans' !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    margin-left: 0 !important;
    line-height: 20px !important;
    text-decoration: underline !important;
}

.links:hover {
    text-decoration: none !important;
    cursor: pointer;
}

.submit-btn {
    width: fit-content;
    padding: 12px 17px;
    background-color: #194499;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans';
    letter-spacing: 1.5px;
    line-height: 17px;
}

.submit-btn:hover {
    background-color: #395CA7;
}

/* Segmented Control Container */
.segmented-container {
    position: relative;
    width: 100%;
}

/* Floating Label */
.segmented-label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    line-height: 19px;
    color: #8F8F8F;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    position: absolute;
    left: 12px;
    top: -10px;
    font-size: 14px;
    background-color: white;
    padding-left: 1px;
    padding-right: 2px;
    z-index: 3;
}

/* Segmented Control */
.segmented-control {
    display: flex;
    width: 100%;
    border: 0.75px solid #8F8F8F;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    background-color: white;
    overflow: hidden;
    position: relative;
    height: 35px;
}

/* Hide radio buttons */
.segmented-control input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Style for labels */
.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8F8F8F;
    font-weight: normal;
    font-family: 'Open Sans';
    font-style: normal;
    line-height: 21px;
}

/* Background selector that moves */
.segment-slider {
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: white;
    box-shadow: -4px 0 8px 0 rgba(0, 0, 0, 0.2), 4px 0 20px 0 rgba(0, 0, 0, 0.19);
    top: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Move the slider when the second option is selected */
#all:checked~.segment-slider {
    transform: translateX(100%);
}

/* Style for selected label */
.segmented-control input[type="radio"]:checked+label {
    color: #4679d8;
}

/* --------- custom alert ---------- */

.custom-alert-overlay {
    font-family: 'Segoe UI', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.25s ease-in-out;
}

.custom-alert-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 30px 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.25s ease;
}

.custom-alert-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #e74c3c;
    /* Error color */
}

.custom-alert-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
}

.custom-alert-box p {
    margin: 0 0 20px;
    font-size: 15px;
    color: #666;
}

.custom-alert-box a {
    color: #194499 !important;
}

.custom-alert-box button {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-alert-box button:hover {
    background-color: #c0392b;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --------- custom alert ---------- */

/* --------- Loader ---------- */

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(0.1px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0s 0.2s;
}

.loader-active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s;
}

.pulse-loader {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-loader .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #194499;
    animation: pulse 1.5s infinite ease-in-out;
}

.pulse-loader .dot:nth-child(1) {
    animation-delay: -0.3s;
}

.pulse-loader .dot:nth-child(2) {
    animation-delay: -0.15s;
}

.pulse-loader .dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes pulse {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --------- Loader ---------- */

.main-container {
    height: 100%;
    min-height: fit-content;
    padding: 0 7.88%;
    min-width: min-content;
}

.inner-container {
    width: 100%;
    height: 100%;
    min-height: fit-content;
    background: white;
    min-width: min-content;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* --------- table ---------- */

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

th {
    background-color: #ffff;
    padding: 10px 5px;
    text-align: left;
    color: #757575;
    border-bottom: 1px solid #8F8F8F;
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
    font-family: 'Open Sans';
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    width: fit-content;
}

/* Match the template header style */
thead tr {
    border-bottom: 0.5px solid #8F8F8F;
}

th:hover {       
    background-color: #f1f3f5;
}

.disabledCloumn,           
#links-column:hover,  
.report-type:hover,   
.map-col:hover,
.modified-by:hover,          
#invDoc:hover, 
#invDate:hover {
    background-color: transparent !important;
    cursor: default;
}

td {
    text-align: left;
    border-bottom: 0.5px solid #8F8F8F;
    color: #555555;
    font-family: 'Open Sans';
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    width: fit-content;
    height: 50px;
    padding: 0px 5px;
}

/* --------- table ---------- */

.no-records {
    text-align: center;
    padding-bottom: 20px;
    color: #666;
    font-style: italic;
}

.sorting-arrow {
    font-size: larger;
}

.pagenumber-btn {
    border: none;
    padding: 8px 15px;
    background: transparent;
    cursor: pointer;
    margin-right: 15px;
    height: 40px;
}

.pagenumber-btn:hover{
    background-color:#efefef !important;
    border-radius: 5px !important;
}

.selected-pagenumber-btn {
    background: #194499; 
    color: white; border-radius: 5px;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    margin-right: 15px;
    height: 40px;
}
        
.selected-pagenumber-btn:hover {
    background: #194499; 
    color: white; border-radius: 5px;
}


.tab-header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
    row-gap: 5px;
    column-gap: 5px;
    border-bottom: 1px solid black;
}

.tab-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px 6px 0 0;
    color: #444444;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    background-color: white;    
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
    background: #E9E9E9;;
}

.tab-btn.active {
    background: #E9E9E9;
    border-bottom: 2px solid rgb(4, 4, 164) !important;
}

.tab-content {   
    display: none;
    background: white;
}

.tab-content.active {
    display: block;
}         

/* --------- Breadcrumb -------------- */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}
     
.breadcrumb:hover {   
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
    display: flex;   
    align-items: center;
    position: relative;
}

.breadcrumb-separator {
    color: #adb5bd;   
    margin: 0 0.25rem;
    font-size: 0.875rem;
    opacity: 0.7;
}
                 
/* ------------------------------------------ */