html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

#role-app {
    border: 5px solid red;
}

/*body {
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('../images/bg.png');
    color: var(--text-clr);
    display: grid;
    grid-template-columns: auto 1fr;
}*/

body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: auto 1fr;
    background: radial-gradient(900px 500px at 20% 25%, rgba(80,240,255,.25), transparent 60%), radial-gradient(900px 600px at 78% 65%, rgba(170,120,255,.22), transparent 60%), radial-gradient(700px 450px at 70% 15%, rgba(255,170,110,.18), transparent 60%), linear-gradient(135deg, #0b1224 0%, #0c142a 45%, #0a1226 100%);
}



.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: table;
    transition: opacity 0.3s ease;
}

.modal-body-scroll {
    max-height: 80vh; /* adjust: 60vh, 75vh, etc. */
    overflow-y: auto; /* show scrollbar when needed */
    overflow-x: hidden;
}

.bigCheckBox {
    /*    width: 20px;
    height: 20px;*/
    width: 1.5rem; /* Assuming you want them larger */
    height: 1.5rem;
    cursor: pointer;
    border: 1px solid #258cfb !important; /* Darker, thicker border */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.2s ease-in-out;
}

.big-checkbox-17 {
    width: 17px;
    height: 17px;
}

.icon-size-13 {
    font-size: 1.3em;
    margin-top: 2px;
}

.transparent05 {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.transparent03 {
    opacity: 0.3;
}

.transparent10 {
    opacity: 1;
}

.glowingtext:hover {
    /*text-shadow: 0 0 5px #258cfb;*/
    /*text-shadow: 0 0px 15px #f1536e;*/
    background-color: #258cfb;
    border-radius: 10px;
    padding: 2px;
    cursor: pointer;
}

.bi-lg {
    font-size: 1.25rem;
}

.bi-xl {
    font-size: 1.5rem;
}

.size-scale:hover {
    transform: scale(1.5);
    font-weight: bold;
}

.underline-input {
    border: none; /* Remove default border */
    border-bottom: 1px solid #ccc; /* Add underline */
    padding: 5px 0; /* Add padding as needed */
    width: 100%; /* Set width as needed */
    box-sizing: border-box; /* Include padding and border in total width */
    outline: none; /* Remove outline when focused */
}

    /* Optional: Hover and focus styles */
    .underline-input:hover,
    .underline-input:focus {
        border-bottom-color: blue; /* Change underline color on hover/focus */
    }

.disable-div5 {
    pointer-events: none;
    opacity: 0.5;
}

.disable-div7 {
    pointer-events: none;
    opacity: 0.7;
}

.greenBox {
    display: inline-flex; /* d-inline-flex */

    padding-inline: 0.5rem; /* px-2 */


    font-weight: 600; /* fw-semibold */
    /* Prefer Bootstrap CSS variables if present, fallback otherwise */
    color: var(--bs-success-text-emphasis, #0a3622); /* text-success-emphasis */
    background-color: var(--bs-success-bg-subtle, #d1e7dd); /* bg-success-subtle */

    border: 1px solid; /* border */
    border-color: var(--bs-success-border-subtle, #a3cfbb); /* border-success-subtle */

    border-radius: 0.25rem; /* rounded-2 */
}

.grayBox {
    display: inline-flex; /* d-inline-flex */
    padding-inline: 0.5rem; /* px-2 */
    font-weight: 600; /* fw-semibold */
    color: var(--bs-success-text-emphasis, #0a3622); /* text-success-emphasis */
    border: 1px solid; /* border */
    border-color: var(--bs-success-border-subtle, #a3cfbb); /* border-success-subtle */
    border-radius: 0.25rem; /* rounded-2 */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: .75rem;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-row {
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.2s);
}


.watermark-overlay {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none; /* Allows clicking through the text */
}

.watermark-content {
    background-color: rgba(0, 123, 255, 0.8); /* Bootstrap Primary with transparency */
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.water-mark-empleft {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ccc;
    padding: 2rem;
    pointer-events: none;
    opacity: 0.7;
}

    /* Watermark overlay with fade-out */
    .water-mark-empleft::after {
        content: var(--watermark-text, "EMPLOYEE LEFT");
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-30deg);
        font-size: 5rem;
        color: rgba(255, 0, 0, 0.15);
        font-weight: bold;
        pointer-events: none;
        z-index: 9999;
        white-space: nowrap;
        opacity: 1;
    }

.water-mark-deleted {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ccc;
    padding: 2rem;
}

    .water-mark-deleted::after {
        content: var(--watermark-text, "Deleted");
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-30deg);
        font-size: 5rem;
        color: rgba(255, 0, 0, 0.15);
        font-weight: bold;
        pointer-events: none;
        z-index: 9999;
        white-space: nowrap;
        opacity: 1;
    }

.row-dirty {
    background-color: #fff9db !important; /* Light yellow tint */
    border-left: 4px solid #fcc419; /* Yellow indicator bar */
}

/* Client Page*/

/* 2. Define the Main Content Area as a scrollable container */
.main-content-scroll {
    height: 100vh; /* Fill the viewport height */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* 3. Keep the Header Sticky at the top */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020; /* Sits above table content */
    background-color: #1a2333; /* Matches your dark-soft color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 4. Optional: Make the Optional Courses card scrollable too (instead of the whole page) */
/* Use this if you want the "Mandatory" list to stay fixed on the right while scrolling courses */
/*.course-list-container {
    max-height: 70vh;*/ /* Adjust based on your preference */
/*overflow-y: auto;
}*/

/*.bg-sidebar {
    background-color: var(--bg-sidebar);
}*/
/*
.client-scroll-area {
    height: calc(100vh - 150px);
    overflow-y: auto;
}
*/
.client-item {
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.02);
}

    .client-item:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

.active-client {
    background-color: rgba(59, 130, 246, 0.15) !important;
    border-left: 4px solid var(--accent-blue);
    color: var(--accent-blue);
}

.client-avatar {
    width: 35px;
    height: 35px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    color: var(--accent-blue);
}

/* Table and Card Styling */
.bg-dark-soft {
    background-color: #1a2333;
}

.bg-card {
    background-color: var(--bg-card);
}

.bg-mandatory {
    background: linear-gradient(135deg, #1e293b 0%, #16202c 100%);
    border: 1px solid rgba(255, 193, 7, 0.1) !important;
}

/* Premium Switch Styling */
.custom-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

    .custom-switch .form-check-input:checked {
        background-color: #10b981;
        border-color: #10b981;
    }

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

/* This controls the speed of the items moving up/down */
.flip-list-move {
    transition: transform 0.8s ease;
}

/* Optional: Highlight the selected item to make it pop */
.selected-item {
    border-left: 5px solid #ffc107 !important;
    background-color: #1e293b !important;
    z-index: 10;
    transform: scale(1.02);
    transition: all 0.5s ease;
    color: white;
}

/* PAGE SCOPE */
#booking-list-page .list-group-item.selected-item {
    color: #fff !important;
}

    #booking-list-page .list-group-item.selected-item * {
        color: #fff !important;
    }

    /* Keep it white even when hovering/focusing the selected item */
    #booking-list-page .list-group-item.selected-item:hover,
    #booking-list-page .list-group-item.selected-item:focus {
        color: #fff !important;
    }

        #booking-list-page .list-group-item.selected-item:hover *,
        #booking-list-page .list-group-item.selected-item:focus * {
            color: #fff !important;
        }

.dropdown-menu li:hover {
    background-color: #f8f9fa; /* Subtle grey hover */
}

.cursor-pointer {
    cursor: pointer;
}



.bg-dashboard-home {
    background-color: #1a1d20;
    min-height: 100vh;
}

/* Adds a nice hover effect to your cards against the new background */
.setting-card-home {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .setting-card-home:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        transform: translateY(-5px);
    }