body {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    width: 100%;
    background-color: #f5f5f5;
    font-family: "Poppins", serif;
}

/* a{
    font-size: 14px !important;
} */



.ft-15{
    font-size: 14px !important;
}

.nav-font{
    /* font-family: 'Helvetica Neue', Arial, sans-serif !important; */
    font-family: "Inter", serif;
    font-size: 0.800rem !important; 
    font-weight: 500 !important;
}

h4 {
    font-optical-sizing: auto;
    font-weight: 550;
    font-style: normal;
    font-family: "Inter", serif;
    font-size: 20px;
}

h5{
    font-family: "Poppins", serif;
    font-weight: 380;
    font-size: 15px;
}

h6{
    font-family: "Poppins", serif;
    font-weight: 380;
    font-size: 14px;
}

span{
    font-family: 'Arial', sans-serif;
    font-size: 0.995rem; /* 14px */
}
  
/* p{
    font-family: "Inter", serif;
    font-weight: 300;
    font-size: 16px;
} */

td{
    font-family: "Inter", serif;
    font-size: 14px;
    font-weight: 450;
    color: #3b434e !important;
}

th{
    font-family: 'Arial', sans-serif;
    font-weight: 550;
    font-size: 14px;
}

button{
    font-family: "Poppins", serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

label{
    font-family: "Inter", serif;
    font-size: 13px !important;
    color: #5e5858 !important;
    font-weight: 500 !important;
}



/* new side bar */
.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    color: white;
    border-radius: 6px;
}

.nav-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

.nav-item span {
    font-weight: 500;
    font-size: 14px;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: #FFD700;
    transition: height 0.3s ease;
}

.nav-item {
    display: flex;
    align-items: center;
    /* padding: 12px; */
    margin: 8px;
    color: #E0E0E0;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin-right: 20px;
}

.nav-item:hover::before {
    height: 100%;
}


.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 12px;
}


.nav-item:hover::before {
    height: 100%;
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-item {
    display: flex;
    align-items: center;
    /* padding: 12px; */
    margin: 12px;
    /* color: #E0E0E0; */
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 8px 10px 8px 10px;
}

.nav-item-dropdown .arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    padding: 5px 0;
    margin-left: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-left: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 0 0 8px 8px;
}

.nav-item-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #E0E0E0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px !important;
}

.dropdown-item i {
    width: 15px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 15px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    transform: translateX(5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* profile */
.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 2px solid #f1f1f1; /* Optional: adds a subtle border */
}

.user-profile {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info {
    flex: 1;
}

.user-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* end new side bar */

/* web basic css */

.body-content {
    height: 100%;
}

/* toggle button */

.container {
    margin-top: 50px;
}

/* Styling for the toggle button */
.toggle-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.toggle-btn:focus {
    outline: none;
}

/* Styling for the collapsible content */
.collapse-content {
    overflow: hidden;
    max-height: 0;
    /* Initially hide the content by setting max-height to 0 */
    padding: 0 20px;
    margin-top: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: max-height 2s ease-in-out, padding 2s ease-in-out;
    /* Slower transition (2 seconds) */
}

.collapse-content.show {
    max-height: 1000px;
    /* Use a large value to allow enough space for content to expand */
    padding: 20px;
    /* Add padding when the content is shown */
}

.toggle-btn i {
    margin-right: 10px;
}


/* end toggle */


#content {
    background-color: #f0f0f0;
    padding: 20px;
    margin-top: 10px;
}

.para-font {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.heading-font {
    font-family: "Inter", sans-serif;
    font-weight: 450;
    color: #3f3f46;
    font-size: 17px;
}

.count-number {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 25px;
}


.active-url {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B1A1A;
    font-weight: 600;
    transform: translateX(8px);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-size: 200% 200%;
    padding-top: 80px;
    transition: 0.3s;
    overflow-y: auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    background: linear-gradient(230deg, #8b2323, #5e1616) !important;
    width: 240px;
    animation: gradientAnimation 15s ease infinite;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.sidebar .nav-link {
    font-size: 16px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}

/* .sidebar .nav-link:hover {
    background-color: #b0afb0;
    border-radius: 4px;
} */

.sidebar .submenu {
    padding-left: 10px;
}

.main-box-content {
    max-width: 100%;
}

.main-content {
    margin-left: 240px;
    transition: 0.3s;
    min-height: calc(100vh - 123px);
    padding-top: 20px;
}

.navbar-brand img {
    mix-blend-mode: multiply;
}

.user-profile {
    cursor: pointer;
}

.user-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.profile-popup {
    display: none;
    position: fixed;
    right: 20px; /* Adjusted to shift it slightly more to the right */
    top: 90px; /* Increased to move it down and avoid overlap with cards */
    border-radius: 4px;
    padding: 10px;
    z-index: 1000;
    width: 150px; /* Reduced width to minimize overlap */
    background-color: #fff; /* Added background color for visibility */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; /* Moved shadow here for consistency */
}


@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.active {
        /* width: 100%; */
        margin-left: 0;
        position: fixed;
        max-width: 100%;
        height: 100%;
    }

    .main-content {
        margin-left: 0;
    }

    .main-content.active {
        margin-left: 150px;
    }
}

.nav {
    padding-top: 20px;
}


.navbar {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.number-font {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

/* .card:hover {
    transform: scale(1.05);
    transition: transform 0.8s;
} */

.authenticate-form {
    width: 100% !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.login-form-cn a {
    text-decoration: none;
}

.login-form {
    max-width: 60%;
}

.captcha {
    padding: 7px 14px;
    border: 1px solid black;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 90%;
}

.refresh-captcha {
    width: 25px;
    height: 25px;
    text-align: center;
}

.refresh-captcha:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 50%;
}

.form-heading {
    color: white;
    background-color: #7c3aed;
    padding: 10px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 6px;
    border: 2px solid #7c3aed;
}

.bg-body {
    width: 100%;
    height: 100vh;
    background-color: #e7e5e4;
}

/* reportfir page */
.report-panel {
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(90deg, #475569 0, #4b6284) !important;
    color: white;
    border-radius: 4px !important;
    padding: 10px;
    position: relative;
    margin: 10px 10px 10px 10px;
}

.btn-add {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 12px !important;
}

.btn-add:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.table {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    max-width: 100%;
    border-collapse: collapse;
    overflow-y: auto;
    overflow-x: auto;
}

.table thead tr th {
    white-space: nowrap;
    padding-left: 20px;
    padding-right: 20px;
    height: 50px;
    position: static;
}

.table tbody tr td {
    padding-left: 20px;
    padding-right: 20px;
    height: 75px;
}

.table th {
    position: sticky;
    top: 0;
    background: #ffffff; 
    z-index: 10;
    color: #4b5563;
    font-size: 17px;
    font-weight: 500;
}

.table td {
    vertical-align: middle;
    color: #3c4249;
}

.btn-edit,
.btn-delete {
    padding: 3px 7px;
    border-radius: 50px;
    transition: all 0.3s ease;
}


.btn-delete {
    background-color: #dc3545;
    color: white;
}

.edit-tooltip{
    position: absolute;
    top: 0px;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 3px 3px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 90px;
}

.edit-tooltip::before{
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-edit:hover .edit-tooltip{
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.btn-edit:hover,
.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* message pop up */
.popup {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 100px;
    /* Distance from the top */
    right: -300px;
    /* Start off-screen */
    border: 1px solid #ccc;
    background-color: #22c55e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 6px 10px;
    z-index: 1000;
    /* Ensure it appears above other content */
    opacity: 0;
    /* Start hidden */
    transition: right 0.5s ease, opacity 0.5s ease;
    /* Transition for sliding in and fading */
    border-radius: 4px;
    border: 2px solid #22c55e;
    color: #fff;
}

.popup.show {
    display: block;
    right: 25px;
    opacity: 1;
}

.file-error {
    color: white !important;
    background-color: #df4545;
    padding: 2px 8px;
    border-radius: 2px;
    margin: 5px 0;
    width: fit-content;
    display: none;
    font-size: 13px;
}

.table-success-btn {
    background-color: #13aa52;
    border: 1px solid #13aa52;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 4px;
    transition: transform 150ms, box-shadow 150ms;
}

.table-cancel-btn {
    background-color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 4px;
    transition: transform 150ms, box-shadow 150ms;
}

.table-pending-btn {
    background-color: #fde047;
    border: 1px solid #fde047;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    color: black;
    cursor: pointer;
    font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 5px;
    transition: transform 150ms, box-shadow 150ms;
}

.common-btn {
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    cursor: pointer;
    font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 7px 14px;
    transition: transform 150ms, box-shadow 150ms;
}

.table-prosess-btn {
    background-color: #6c757d;
    border: 1px solid #6c757d;
    color: #fff;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    cursor: pointer;
    font-family: "Akzidenz Grotesk BQ Medium", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 5px 5px;
    transition: transform 150ms, box-shadow 150ms;
}

.pending-status {
    padding-top: 3px;
    padding-right: 6px;
}

.disable:hover {
    cursor: not-allowed;
    background-color: #e9ecef;
}

.leave-box {
    padding: 10px 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 8px;
    border: 2px solid #fff;
    background-color: #fff;
    margin-bottom: 20px;
}

.btn-outline-primary {
    color: #2196f3;
    background-color: transparent;
    background-image: none;
    border-color: #2196f3;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: #2196f3;
    border-color: #2196f3;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.5);
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #2196f3;
    background-color: transparent;
}


.filter-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-out;
    background-color: #d0d0d0;
}

.filter-section.show {
    max-height: 300px;
    /* Adjust this value based on your content */
}



/*  sunil css implement  */

/* Ensure the main container is responsive */
.container {
    max-width: 100%;
    overflow-x: hidden;
    padding: 15px;
}

/* Responsive adjustments for the table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.table thead th,
.table tbody td {
    white-space: nowrap;
}

.resonsive-table{
    overflow-x:auto;
}

/* Adjustments for mobile view */
@media (max-width: 768px) {
    .report-panel {
        flex-direction: column;
    }

    .navbar .container-fluid {
        flex-direction: row;
        align-items: flex-start;
    }

    .filter-section .row {
        flex-direction: column;
    }

    .col-md-3 {
        padding-bottom: 10px;
    }
}

/* Reduce padding and make font adjustments on smaller screens */
@media (max-width: 576px) {
    .container {
        padding: 5px;
    }

    .login-form {
        max-width: 90%;
    }

    .table-responsive {
        font-size: 0.9em;
    }

    /* Adjust pagination to stack vertically on smaller screens */
    .pagination {
        flex-wrap: wrap;
    }

    .pagination .page-item {
        width: auto;
    }
}

/* scrollbar */
.sidebar::-webkit-scrollbar {
    width: 8px;
    /* Slim scrollbar */
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #8B1A1A;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #8B1A1A;
    /* Slightly darker on hover */
}

/* Firefox */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: #8B1A1A transparent;
    /* background: linear-gradient(180deg, #8B1A1A 0%, #621B1B 100%); */
}

/* Smooth scrolling for modern browsers */
@media (prefers-reduced-motion: no-preference) {
    .sidebar {
        scroll-behavior: smooth;
        max-width: 240px;
    }
}


/* Webkit browsers (Chrome, Safari, newer versions of Edge) */
.table-responsive::-webkit-scrollbar {
    width: 8px;
    /* Slim scrollbar */
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Firefox */
.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Smooth scrolling for modern browsers */
@media (prefers-reduced-motion: no-preference) {
    .table-responsive {
        scroll-behavior: smooth;
    }
}

/* progress */
/* From Uiverse.io by abrahamcalsin */
.dot-spinner {
    --uib-size: 0.8rem;
    --uib-speed: .9s;
    --uib-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
    margin-top: 4px;
}

.dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

.dot-spinner__dot::before {
    content: '';
    height: 20%;
    width: 20%;
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
    opacity: 0.5;
    animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
}

.dot-spinner__dot:nth-child(2) {
    transform: rotate(45deg);
}

.dot-spinner__dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.875);
}

.dot-spinner__dot:nth-child(3) {
    transform: rotate(90deg);
}

.dot-spinner__dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.75);
}

.dot-spinner__dot:nth-child(4) {
    transform: rotate(135deg);
}

.dot-spinner__dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.625);
}

.dot-spinner__dot:nth-child(5) {
    transform: rotate(180deg);
}

.dot-spinner__dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.5);
}

.dot-spinner__dot:nth-child(6) {
    transform: rotate(225deg);
}

.dot-spinner__dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.375);
}

.dot-spinner__dot:nth-child(7) {
    transform: rotate(270deg);
}

.dot-spinner__dot:nth-child(7)::before {
    animation-delay: calc(var(--uib-speed) * -0.25);
}

.dot-spinner__dot:nth-child(8) {
    transform: rotate(315deg);
}

.dot-spinner__dot:nth-child(8)::before {
    animation-delay: calc(var(--uib-speed) * -0.125);
}

@keyframes pulse0112 {

    0%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.view-button {
    background-color: #3498db;
    color: white;
    padding: 7px 14px;
    border: 1px solid #3498db;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* form */

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    border: none;
    border-bottom: 0.12rem solid #ddd;
    border-radius: 0;
    padding: 5px 0;
    background-color: transparent;
    transition: all 0.3s;
    font-size: 0.950rem;
    font-weight: 400;
    line-height: 1.7;
    color: #544343 !important;
}

.form-control:focus {
    box-shadow: none;
    border-color: #007bff;
    background-color: #f1f5f9;
}

.form-label {
    position: absolute;
    top: 10px;
    left: 0;
    transition: all 0.3s;
    pointer-events: none;
    color: #3f3f46;
    font-size: 18px;
}

.form-control:focus~.form-label,
.form-control:not(:placeholder-shown)~.form-label {
    top: -25px;
    font-size: 13px !important;
    color: #007bff;
}

.custom-select {
    position: relative;
    background-color: transparent;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 5px;
    border: none;
    border-bottom: 0.12rem solid #ddd;
    background-color: transparent;
    cursor: pointer;
}



.custom-select::after {
    /* content: '\25BC'; */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* selct field */
.form-select {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    padding: 12px 3px;
    background-color: transparent;
    transition: all 0.3s;
    font-size: 0.980rem;
}

.form-control:not(:placeholder-shown)~.form-label {
    top: -25px;
    font-size: 13px;
    /* color: #007bff; */
}

.form-select:focus {
    box-shadow: none;
    border-color: #007bff;
}

.select-label {
    position: absolute;
    top: -15px;
    left: 0;
    transition: all 0.3s;
    pointer-events: none;
    color: #3f3f46;
}

.filter-group {
    position: relative;
}

/* date label */

.date-label {
    position: absolute;
    top: -16px;
    left: 0;
    transition: all 0.3s;
    pointer-events: none;
    color: #3f3f46;
    font-size: 14px !important;
}

.file-label {
    position: absolute;
    top: -18px;
    left: 0;
    transition: all 0.3s;
    pointer-events: none;
    color: #3f3f46;
    font-size: 14px;
}

/* message */

.message-container {
    position: fixed;
    top: 100px;
    right: -300px;
    width: 350px;
    transition: right 0.5s ease-in-out;
    z-index: 1000;
}

.message {
    padding: 18px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: white;
    position: relative;
    font-size: 14px;
}

.message-error {
    background-color: #ff4d4d;
}

.message-success {
    background-color: #4CAF50;
}

.message-warning {
    background-color: #ff9800;
}

.close-btn {
    position: absolute;
    top: 1px;
    right: 10px;
    cursor: pointer;
    color: white;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 18px;
  }

/* multiple select */


.custom-select {
    position: relative;
    width: 100%;
}

.hidden-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.select-display {
    border: 2px solid var(--border-color);
    padding: 8px 12px;
    min-height: 45px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    border-bottom: 2px solid #ddd;
}

.select-display:hover {
    border-color: var(--primary-color);
}

.select-icon {
    color: var(--primary-color);
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.select-display.active .select-icon {
    transform: rotate(180deg);
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    padding-right: 10px;
}

.selected-tag {
    padding: 2px 8px;
    border-radius: 16px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    background-color: #17a017;
}

.remove-tag {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

.dropdown-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
    border: 1px solid var(--border-color);
    background-color: #d1d5db;
}

.search-container {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.options-container {
    max-height: 200px;
    overflow-y: auto;
    padding: 8px 0;
}

.option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.option:hover {
    background: var(--hover-color);
}

.option.selected {
    background: var(--primary-light);
    color: var(--primary-color);
}

.option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.selected-count {
    padding: 8px 12px;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-color);
    background: var(--hover-color);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}


/* view button */
.view-post {
    position: relative;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    background: #3b82f6;

}

.view-tooltip {
    position: absolute;
    top: 0px;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 3px 3px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 70px;
    text-align: center;
}

.view-icon i{
    font-size: 16px;
}

.view-tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.view-post:hover .view-tooltip {
    top: -35px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.view-icon {
    font-size: 18px;
}

.view-post:hover{
    color: black;
    background-color: #fff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    top: -2px;
}

.view-post:hover .view-tooltip,
.view-post:hover .view-tooltip::before {
    background: linear-gradient(45deg, rgb(80, 143, 203), rgb(0, 60, 255));
    color: #ffffff;
}

/* edit button */
.btn-edit {
    position: relative;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #212529;
  } 
  
  .edit-tooltip {
    position: absolute;
    top: 0px;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 3px 3px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 70px;
    text-align: center;
  }
  
  .edit-tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  
  .btn-edit:hover .edit-tooltip {
    top: -35px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  

  .btn-edit:hover{
    background-color: #fff;
    color: rgb(37, 35, 35);
  }

  .btn-edit:hover .edit-tooltip,
  .btn-edit:hover .edit-tooltip::before {
    background: #eab308;
    color: #8B1A1A;
  }



.user-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.user-info-item {
    flex: 1;
    margin-right: 20px;
}

.user-info-item:last-child {
    margin-right: 0;
}

.input-readonly {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    color: #333;
}

.input-readonly span {
    display: inline-block;
    width: 100%;
}

.user-info-item label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.input-readonly span {
    color: #555;
}

/* Optional: Responsive design for smaller screens */
@media (max-width: 600px) {
    .user-info-row {
        flex-direction: column;
    }

    .user-info-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .user-info-item:last-child {
        margin-bottom: 0;
    }
}

.leave-count{
    border-radius: 4px;
    border: 1px solid #4c4444;
    background-color: #564f4f;
    color: #fff;
    padding: 5px 25px;
    margin: 5px;
    text-align: center;
}

.leave-number{
    border-radius: 4px;
    border: 1px solid #4c4444;
    background-color: #0651f1;
    color: #fff;
    padding: 5px 25px;
    margin: 5px;
}

.leave-year{
    
    padding: 4px;
    margin: 10px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 4px;
}

.date-validate-error{
    color: red;
    display: block;
    position: absolute;
    top: 76px;
    padding-left: 14px;
}

/* cancel tooltips */

.btn-cancel{
    position: relative;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: linear-gradient(45deg, #ff6200, #eb0e0e);
    color: #fff;
}

.cancel-tooltip{
    position: absolute;
    top: 0px;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 3px 3px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 140px;
    text-align: center;
    right: -20px;
}

.edit-tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  
  .btn-cancel:hover .cancel-tooltip {
    top: -35px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  

  .btn-cancel:hover{
    background: #fff;
    color: rgb(37, 35, 35);
  }

  .btn-cancel:hover .cancel-tooltip,
  .btn-cancel:hover .cancel-tooltip::before {
    background:#c2410c;    
    color: #fff;
  }




/* test */

/* CSS */
.button-61 {
  align-items: center;
  appearance: none;
  border-radius: 4px;
  border-style: none;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 1px -2px,rgba(0, 0, 0, .14) 0 2px 2px 0,rgba(0, 0, 0, .12) 0 1px 5px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: Roboto,sans-serif;
  font-size: .875rem;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  letter-spacing: .0892857em;
  line-height: normal;
  min-width: 64px;
  outline: none;
  overflow: visible;
  padding: 0 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  will-change: transform,opacity;
}

.button-61:hover {
  box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
}

.button-61:disabled {
  background-color: rgba(0, 0, 0, .12);
  box-shadow: rgba(0, 0, 0, .2) 0 0 0 0, rgba(0, 0, 0, .14) 0 0 0 0, rgba(0, 0, 0, .12) 0 0 0 0;
  /* color: rgba(0, 0, 0, .37); */
  cursor: default;
  pointer-events: none;
}

.button-61:not(:disabled) {
  background-color: #06f;
  color: #fff;
}

.button-61:focus {
  box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
}

.button-61:active {
  box-shadow: rgba(0, 0, 0, .2) 0 5px 5px -3px, rgba(0, 0, 0, .14) 0 8px 10px 1px, rgba(0, 0, 0, .12) 0 3px 14px 2px;
  background: #A46BF5;
}

.btn-sd{
    box-shadow: rgba(0, 0, 0, .2) 0 3px 1px -2px,rgba(0, 0, 0, .14) 0 2px 2px 0,rgba(0, 0, 0, .12) 0 1px 5px 0 !important;
}

.leave-action{
    display: flex;
}

.view-leave{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 4px;
    padding: 10px 20px;
    margin: 10px;
    max-width: 210px;
    width: 100%;
}

.view-leave:hover{
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.view-leave p{
    color: #545454;
    padding-top: 5px;
}

.view-leave span{
    color: #837683;
    padding-bottom: 5px;
}

.card-responsive{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.leave-no{
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

/* attendance css */

.stat-card {
    background: white;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

.icon {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.present .icon {
    background-color: #e7f7ed;
    color: #28a745;
}

.absent .icon {
    background-color: #ffe9e9;
    color: #dc3545;
}

.late .icon {
    background-color: #fff3e6;
    color: #fd7e14;
}

.half .icon {
    background-color: #fff9e6;
    color: #ffc107;
}

.stat-info h3 {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.stat-info .number {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

/* Calendar Section */
.calendar-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

.calendar-header {
    margin-bottom: 24px;
}

.calendar-header h2 {
    font-size: 20px;
    color: #212529;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.calendar-grid .header {
    font-weight: 500;
    color: #6c757d;
    padding: 10px;
    text-align: center;
}

.calendar-day {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    min-height: 100px;
}

.calendar-day .date {
    font-weight: 600;
    margin-bottom: 8px;
}

.calendar-day .time {
    font-size: 12px;
    color: #6c757d;
    margin: 4px 0;
}

.present-day {
    border: 1px solid #e7f7ed;
}

.absent-day {
    border: 1px solid #ffe9e9;
}

.status-icon {
    float: right;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.present-icon {
    background: #e7f7ed;
    color: #28a745;
}

.absent-icon {
    background: #ffe9e9;
    color: #dc3545;
}

.td-red td{
 color: #ef4444 !important;
}

.large-checkbox {
    transform: scale(1.7); 
    margin-left: 10px;      
}

/* complaint data */
.complaint {
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    background-color: white;
    width: 300px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1),
    0 2px 4px -2px rgba(0,0,0,.1);
    padding-bottom: 20px;
  }
  
.header {
    position: relative;
    background-clip: border-box;
    font-size: 14px;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 0.3rem;
    background-color: rgb(33 150 243);
    box-shadow: 0 10px 15px -3px rgba(33,150,243,.4),0 4px 6px -4px rgba(33,150,243,.4);
    padding: 15px 5px;
  }
  
  
.data-number{
    color:#FFD700;
}
  

/* dashboard css */

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
}
.data-card {
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding-right: 5px;
    padding-left: 15px;
    padding-top: 15px;
    text-decoration: none;
}
.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* .data-card p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
} */



.data-card i {
    position: absolute;
    top: 10px;
    right: 5px;
    opacity: 1.5;
    color: #fbbf24;
}

.dowload-pdf{
    width: 90%;
    display: flex;
    margin: auto;
    justify-content: end;
}

.present-btn{
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    background-color: #16a34a;
    border: 1px solid #22c55e;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.leave-btn{
    padding: 4px 10px;
    border-radius: 4px;
    color: #fff;
    background-color: #ef4444;
    border: 1px solid #ea580c;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.week-off-btn{
    padding: 4px 10px;
    border-radius: 4px;
    color: #8B1A1A;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: 1px solid #FFA500;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.leave-btn:hover, .week-off-btn:hover, .present-btn:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

/* test leave */
.leave-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #444;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .header {
    padding: 0.600rem;
    text-align: center;
  }
  
  .cell {
    background-color: #2a2a2a;
    padding: 1rem;
    text-align: center;
    color: #fff;
  }
  
  .cell:hover {
    background-color: #333;
  }
  
  /* Responsive design */
  @media (max-width: 600px) {
    .leave-table {
      grid-template-columns: 1fr;
      gap: 0;
    }
  
    .header {
      padding: 0.8rem;
      font-size: 0.7rem;
    }
  
    .cell {
      padding: 0.8rem;
      font-size: 0.9rem;
    }
  
    /* Add labels for mobile view */
    .cell:nth-child(3n + 1)::before {
      content: "Leave Type: ";
      font-weight: bold;
    }
  
    .cell:nth-child(3n + 2)::before {
      content: "Consumed: ";
      font-weight: bold;
    }
  
    .cell:nth-child(3n + 3)::before {
      content: "Pending: ";
      font-weight: bold;
    }
  }
  
  @media (prefers-color-scheme: light) {

  
    .header {
      background-color: #2563eb;
      color: white;
    }
  
    .cell {
      background-color: #f8fafc;
      color: #1e293b;
    }
  
    .cell:hover {
      background-color: #f1f5f9;
    }
  
    .leave-table {
      background-color: #e2e8f0;
    }
  }

.active-tab{
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B1A1A !important;
}

.error{
    color: white;
    background-color: #df4545;
    width: fit-content;
    border-radius: 3px;
}

.total-bg{
    background-color: #4f46e5; 
    color: #fff;
}

.pending-bg{
    background-color: #facc15; 
    color: black;
}

.approve-bg{
    background-color: #28a745; 
    color: white;
}

.leave-approve-bg{
    background-color: #15803d; 
    color: white;
}

.cancel-bg{
    background-color: #ef4444;
    color: #fff;
}

.pending-ap-bg{
    background-color: #57534e;
    color: #fff;
}

.web-logo{
    width: 80px;
    object-fit: scale-down;
    object-position: center;
    height: 80px;
}

.web-heding{
    line-height: 0.4;
}

.custom-checkbox {
    transform: scale(1.5);  
    margin-top: 4px;
    margin-left: 5px;  
}

.form-check-label{
    padding-left: 10px;
}


/* test */
@media (max-width: 600px) {
    .web-logo {
        width: 50px; /* Adjust the size of the logo for smaller screens */
    }
    .web-heding h5 {
        font-size: 1rem; /* Adjust the font size for smaller screens */
    }
    .web-heding span {
        font-size: 0.9rem; /* Adjust the font size for smaller screens */
    }
}


/* multiple select css */

.select-container {
    margin-bottom: 20px;
  }

  .select-dropdown {
    position: relative;
    /* display: inline-block;
    width: 300px; */
  }

  .select-dropdown select {
    display: none;
  }

  .dropdown-box {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #ccc;
    /* border-radius: 5px; */
    padding: 2px;
    cursor: pointer;
    background-color: white;
  }

  .dropdown-box input {
    width: 100%;
    padding: 5px;
    border: none;
    box-sizing: border-box;
    font-size: 14px;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    margin-top: 5px;
    border-radius: 3px;
  }

  .dropdown-menu div {
    padding: 4px;
    cursor: pointer;
  }

  .dropdown-menu div:hover {
    background-color: #f1f1f1;
  }

  .selected-options {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .selected-option {
    background-color: #16a34a;
    color: white;
    padding: 2px 3px;
    border-radius: 3px;
    margin: 3px;
    display: flex;
    align-items: center;
  }

  .remove-option {
    cursor: pointer;
    margin-left: 5px;
    color: white;
  }

  .remove-option:hover {
    color: red;
  }

.td-blue td{
    color:#004ab9 !important;
}

/* empty data */
/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
    background-color: var(--surface);
    border-radius: 0 0 var(--radius) var(--radius);
    animation: pulse 2s infinite;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.empty-state-subtext {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
}

/* Floating Animation for Empty State */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.empty-state-icon {
    animation: float 2s ease-in-out infinite;
}


/* test */

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

/* Original select styling - will be hidden but still functional */
.custome-select {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    position: relative;
    z-index: 1;
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Label styling */
.select-label {
    position: absolute;
    top: -0.8rem;
    padding: 0 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
    transition: all 0.2s ease-in-out;
    z-index: 2;
}

/* Custom select styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.8;
    background-color: #fff;
    border-bottom: 0.12rem solid #ddd;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-select-trigger:hover {
    border-color: #adb5bd;
}

.custom-select-trigger.active {
    /* border-color: #80bdff; */
    outline: 0;
    /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

.custom-select-trigger:after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6c757d;
    transition: transform 0.3s;
}

.custom-select-trigger.active:after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
    max-height: 300px;
    overflow: hidden;
}

.custom-select-search {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.custom-select-search:focus {
    outline: none;
}

.custom-select-options {
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-select-option:hover {
    background: #f8f9fa;
}

.custom-select-option.selected {
    background: #e9ecef;
    font-weight: 500;
}

.custom-select-option.hidden {
    display: none;
}

.no-results {
    padding: 0.75rem;
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

/* Scrollbar styling */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}


/* profile css */
.profile-popup {
    position: fixed;
    top: 90px; /* adjust based on your navbar height */
    right: 20px;
    width: 250px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    z-index: 999;
    display: none; /* hidden by default */
}

/* Inner content */
.profile-popup-content p {
    margin: 0;
    font-size: 14px;
}

.profile-popup hr {
    margin: 10px 0;
}


/* login page design */
.logincontainer {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    flex-wrap: wrap;
}

.left-section {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-image: url('/static/accounts/img/logo-image.jpeg');
    background-size: cover;
    background-position: center;
    animation: shine 10s infinite;
  }

  @keyframes shine {
    0%, 100% {
      filter: brightness(1);
    }
    50% {
      filter: brightness(1.2);
    }
  }

  .right-section {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 40px;
    background: oklch(98.5% 0 0);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .right-section .bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }

  .right-section .bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -160px;
    border-radius: 50%;
    animation: square 25s infinite;
    transition-timing-function: linear;
  }

  .right-section .bg-bubbles li:nth-child(1) { left: 10%; animation-delay: 0s; width: 80px; height: 80px; }
  .right-section .bg-bubbles li:nth-child(2) { left: 20%; animation-delay: 2s; width: 60px; height: 60px; animation-duration: 17s; }
  .right-section .bg-bubbles li:nth-child(3) { left: 35%; animation-delay: 4s; }
  .right-section .bg-bubbles li:nth-child(4) { left: 40%; animation-delay: 0s; width: 60px; height: 60px; animation-duration: 22s; }
  .right-section .bg-bubbles li:nth-child(5) { left: 55%; animation-delay: 0s; }
  .right-section .bg-bubbles li:nth-child(6) { left: 65%; animation-delay: 3s; width: 70px; height: 70px; }
  .right-section .bg-bubbles li:nth-child(7) { left: 75%; animation-delay: 7s; width: 120px; height: 120px; }
  .right-section .bg-bubbles li:nth-child(8) { left: 80%; animation-delay: 15s; animation-duration: 40s; }
  .right-section .bg-bubbles li:nth-child(9) { left: 85%; animation-delay: 2s; width: 50px; height: 50px; animation-duration: 35s; }
  .right-section .bg-bubbles li:nth-child(10) { left: 90%; animation-delay: 11s; width: 90px; height: 90px; }

  @keyframes square {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
    }
  }

  .login-container {
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1s forwards;
    max-height: 100%;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .login-message {
    text-align: center;
    font-size: 16px;
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
  }

  .login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 25px;
    font-family: sans-serif;
  }

  .input-group {
    position: relative;
    margin-bottom: 25px;
  }

  .input-group input {
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    background: transparent;
    transition: 0.3s;
  }

  .input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease-out;
  }

  .input-group input:focus,
  .input-group input:valid {
    border-bottom: 2px solid #1e88e5;
  }

  .input-group input:focus ~ label,
  .input-group input:valid ~ label {
    transform: translateY(-25px);
    font-size: 14px;
    color: #1e88e5;
  }

  .captcha-image {
    height: 50px;
    width: 100%;
    background: #ccc;
    text-align: center;
    line-height: 50px;
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    flex: 1;
  }

  .captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }


  .refresh-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 0 10px;
    color: #1e88e5;
    transition: transform 0.3s;
  }

  .forgot-pass {
    display: block;
    text-align: right;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    font-family: sans-serif;
  }

  .btn-login{
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #2196f3, #1e88e5);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: Roboto,sans-serif !important;
  cursor: pointer;
  transition: 0.3s;
  }

  .btn-login:hover {
    transform: translateY(-3px);
  }

  .password-group {
    position: relative;
  }
  

  .signup-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
  }

  .signup-link a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .logincontainer {
      flex-direction: column;
    }

    .left-section {
      min-height: 250px;
    }

    .right-section {
      padding: 20px;
      align-items: flex-start;
      overflow-y: hidden; 
      height: auto; 
    }

    .login-container {
      margin-top: 20px;
      max-height: none;
    }
  }

.leave-view-box{
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    border-radius: 4px;
    padding: 8px 15px 15px 8px; 
}

.leave-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* Wrapper */
.oisd-multi-wrapper {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    position: relative;
}

/* Dropdown */
.oisd-dropdown {
    position: relative;
    border-bottom: 2px solid #ccc;
    cursor: pointer;
    padding: 10px 0;
}
.oisd-dropdown-display {
    font-size: 14px;
    color: #555;
}
.oisd-dropdown::after {
    content: "▾";
    position: absolute;
    right: 5px;
    top: 10px;
    color: #555;
    font-size: 14px;
}

/* Options (hidden by default) */
.oisd-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.oisd-option {
    padding: 8px 12px;
    cursor: pointer;
}
.oisd-option:hover {
    background: #f1f1f1;
}

/* Selected tags */
.oisd-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}
.oisd-selected-tag {
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.oisd-remove-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}


/* Custom multi-select styles */
        .multiselect-container {
            position: relative;
            width: 100%;
        }
        .multiselect-select {
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            padding: 0.375rem 0.75rem;
            background: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 38px;
        }
        .multiselect-select::after {
            content: "▼";
            font-size: 0.8em;
        }
        .placeholder {
            color: #ffff;
        }
        .multiselect-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            margin-top: 0.25rem;
            box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
            z-index: 1050;
            display: none;
            max-height: 300px;
            overflow: hidden;
            flex-direction: column;
        }
        .multiselect-dropdown.open {
            display: flex;
        }
        .multiselect-search {
            padding: 0.5rem;
            border-bottom: 1px solid #ced4da;
        }
        .multiselect-search input {
            width: 100%;
            padding: 0.375rem 0.75rem;
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
        }
        .multiselect-options {
            flex: 1;
            overflow-y: auto;
            padding: 0.5rem 0;
        }
        .multiselect-option {
            padding: 0.375rem 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
        }
        .multiselect-option:hover {
            background: #f8f9fa;
        }
        .multiselect-option.hidden {
            display: none;
        }
        .multiselect-checkbox {
            width: 1.2em;
            height: 1.2em;
            border: 2px solid #ced4da;
            border-radius: 0.25rem;
            margin-right: 0.5rem;
            position: relative;
            display: inline-block;
        }
        .multiselect-checkbox.checked::after {
            content: "✔";
            position: absolute;
            top: -4px;
            left: 2px;
            font-size: 1em;
            color: #0d6efd;
        }
        .no-results {
            padding: 0.75rem;
            text-align: center;
            color: #6c757d;
            display: none;
        }
        .multiselect-selected {
            font-size: 0.875em;
            color: #495057;
            margin-top: 0.25rem;
        }
        /* Hide the original select */
        .form-multi-select {
            display: none !important;
        }
        /* Label styling */
        .select-label {
            position: absolute;
            top: -1rem;
            /* left: 0.75rem; */
            /* background: white; */
            padding: 0 0.25rem;
            font-size: 0.75rem;
            color: #6c757d;
        }
        .form-group {
            position: relative;
        }

.notification-btn{
    border: none;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.top-one{
    top: -1.3rem !important;
}
