/* _content/AttendEase/Pages/Setting.razor.rz.scp.css */

@keyframes countdown-b-mdp2qonq6c {
    from { width: 100%; }
    to { width: 0%; }
}
/* _content/AttendEase/Pages/TakeAttendance.razor.rz.scp.css */
/* HKID Display */
.hkid-display[b-p8izih1bxg] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.hkid-digit[b-p8izih1bxg] {
    width: 5rem;
    height: 5rem;
    border: 3px solid #4287f5;
    font-size: 2.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #f0f8ff, #ffffff);
    color: #4287f5;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08), 
                inset 0 -2px 5px rgba(0,0,0,0.06),
                inset 0 2px 5px rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hkid-digit.filled[b-p8izih1bxg] {
    background: linear-gradient(145deg, #e6f3ff, #f8fdff);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(66,135,245,0.15),
                inset 0 -2px 5px rgba(0,0,0,0.04),
                inset 0 2px 5px rgba(255,255,255,0.8);
}

.hkid-digit[b-p8izih1bxg]:after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    pointer-events: none;
}

.hkid-digit.filled[b-p8izih1bxg]:after {
    transform: translateX(100%);
}

/* Number Pad */
.number-pad[b-p8izih1bxg] {
    margin: 2rem 0;
    padding: 0 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.keypad-row[b-p8izih1bxg] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    justify-content: center;
}

.keypad-btn[b-p8izih1bxg] {
    width: 5.5rem;
    height: 4.5rem;
    font-size: 2.6rem;
    font-weight: 600;
    border-radius: 18px;
    border: none;
    background: linear-gradient(145deg, #f0f8ff, #e6f1fa);
    color: #4287f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08), 
                inset 0 -2px 5px rgba(0,0,0,0.06),
                inset 0 2px 5px rgba(255,255,255,0.8);
    cursor: pointer;
    overflow: hidden;
}

.keypad-btn[b-p8izih1bxg]:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keypad-btn:hover[b-p8izih1bxg]:before {
    opacity: 0.6;
}

.keypad-btn:active[b-p8izih1bxg], .keypad-btn.active[b-p8izih1bxg] {
    transform: translateY(3px) scale(0.95);
    background: linear-gradient(145deg, #e1edfd, #ffffff);
    color: #2e66c7;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1), 
                inset 0 2px 5px rgba(0,0,0,0.1);
}

.keypad-btn.function-btn[b-p8izih1bxg] {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    color: #6c757d;
}

.keypad-btn.function-btn:active[b-p8izih1bxg], .keypad-btn.function-btn.active[b-p8izih1bxg] {
    background: linear-gradient(145deg, #e9ecef, #f8f9fa);
    color: #495057;
}

.submit-btn[b-p8izih1bxg] {
    width: 100%;
    height: 3.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4287f5, #3276e6);
    color: white;
    border: none;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(66,135,245,0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover[b-p8izih1bxg] {
    background: linear-gradient(135deg, #3a7ae0, #2a6ad8);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(66,135,245,0.4);
}

.submit-btn:active[b-p8izih1bxg] {
    transform: translateY(1px);
    box-shadow: 0 5px 10px rgba(66,135,245,0.2);
}

.submit-btn[b-p8izih1bxg]:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover[b-p8izih1bxg]:before {
    left: 100%;
}

.keyboard-hint[b-p8izih1bxg] {
    color: #6c757d;
    margin-top: 1.5rem;
}

/* Error Message */
.alert-danger[b-p8izih1bxg] {
    font-size: 1.3rem;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffebee, #ffcdd2);
    border: none;
    box-shadow: 0 6px 12px rgba(244,67,54,0.1);
    color: #d32f2f;
}

.attendance-options-card[b-p8izih1bxg] {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.attendance-options-card .card-header[b-p8izih1bxg] {
    padding: 1.2rem;
}

.user-welcome[b-p8izih1bxg] {
    padding: 0.5rem 0;
}

.avatar-circle[b-p8izih1bxg] {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.initials[b-p8izih1bxg] {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.welcome-text[b-p8izih1bxg] {
    color: #333;
}

.employee-name[b-p8izih1bxg] {
    color: #2575fc;
    font-weight: 600;
}

.attendance-buttons[b-p8izih1bxg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.attendance-btn[b-p8izih1bxg] {
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.attendance-btn:hover[b-p8izih1bxg] {
    transform: translateY(-3px);
}

/* Success card styles */
.success-card[b-p8izih1bxg] {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.success-icon[b-p8izih1bxg] {
    color: #28a745;
    font-size: 5rem;
    margin: 0 auto;
}

.success-title[b-p8izih1bxg] {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-text[b-p8izih1bxg] {
    color: #666;
    font-size: 1.2rem;
}

.action-button[b-p8izih1bxg] {
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 117, 252, 0.2);
}

.action-button:hover[b-p8izih1bxg] {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(37, 117, 252, 0.3);
}
/* _content/AttendEase/Shared/MainLayout.razor.rz.scp.css */
.page[b-1v77xtqxc3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1v77xtqxc3] {
    flex: 1;
}

.sidebar[b-1v77xtqxc3] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    display: flex; /* Make the sidebar a flex container */
    flex-direction: column; /* Stack its children (NavMenu component) vertically */
}

.top-row[b-1v77xtqxc3] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1v77xtqxc3]  a, .top-row .btn-link[b-1v77xtqxc3] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-1v77xtqxc3] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-1v77xtqxc3] {
        display: none;
    }

    .top-row.auth[b-1v77xtqxc3] {
        justify-content: space-between;
    }

    .top-row a[b-1v77xtqxc3], .top-row .btn-link[b-1v77xtqxc3] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-1v77xtqxc3] {
        flex-direction: row;
    }

    .sidebar[b-1v77xtqxc3] {
        min-width: 250px;
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1v77xtqxc3] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-1v77xtqxc3], article[b-1v77xtqxc3] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/AttendEase/Shared/NavMenu.razor.rz.scp.css */
/*
This :host selector targets the root element Blazor generates for this component.
We make it a flex container that takes the full height of its parent (.sidebar).
*/
:host[b-tsksdzcozx] {
    display: flex;
    flex-direction: column; /* Stack children vertically: top-row, nav-items-container, nav-footer */
    height: 100%; /* Crucial: NavMenu should try to fill its parent (.sidebar) vertically */
}

/*
This targets the div that contains your actual navigation links.
We want this part to grow and take up any available space, pushing the footer down.
*/
.navmenu-items-container[b-tsksdzcozx] { /* This is the div with @NavMenuCssClass */
    flex-grow: 1; /* Allows this element to grow */
    overflow-y: auto; /* Add scrollbar if nav items are too many */
}

.navbar-toggler[b-tsksdzcozx] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-tsksdzcozx] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-tsksdzcozx] {
    font-size: 1.1rem;
}

/* Logo styling */
.nav-logo[b-tsksdzcozx] {
    height: 30px; /* Adjust as needed */
    width: auto;  /* Maintain aspect ratio */
    /* You could also use max-height if you prefer */
}

.oi[b-tsksdzcozx] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-tsksdzcozx] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-tsksdzcozx] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-tsksdzcozx] {
        padding-bottom: 1rem;
    }

    .nav-item[b-tsksdzcozx]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-tsksdzcozx]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-tsksdzcozx]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Language dropdown styles */
.nav-item .dropdown-menu[b-tsksdzcozx] {
    background-color: #343a40;
    border: 1px solid #495057;
    border-radius: 4px;
    min-width: 160px;
}

.nav-item .dropdown-item[b-tsksdzcozx] {
    color: #d7d7d7;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.nav-item .dropdown-item:hover[b-tsksdzcozx] {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-item .dropdown-item.active[b-tsksdzcozx] {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

/* Footer styling */
.nav-footer[b-tsksdzcozx] {
    padding: 10px 0; /* Add some padding */
    text-align: center;
    font-size: 0.8em;
    color: rgba(255,255,255,0.7); /* Light text for dark background */
    border-top: 1px solid rgba(255,255,255,0.1); /* Optional: a subtle separator line */
}

.nav-footer a[b-tsksdzcozx] {
    color: rgba(255,255,255,0.9); /* Lighter link color */
    text-decoration: none;
}

.nav-footer a:hover[b-tsksdzcozx] {
    text-decoration: underline;
}

@media (min-width: 641px) {
    .navbar-toggler[b-tsksdzcozx] {
        display: none;
    }

    .collapse[b-tsksdzcozx] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
