h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}

/*------------------------------------------------------------*/
/* Global Scrollbar Hiding */
html,
body,
* {
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE and Edge */
}

::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    background: transparent !important;
}

/* Specific MudBlazor Targets (Redundant but safe) */
.mud-main-content,
.mud-container,
.mud-drawer,
.mud-drawer-content,
.mud-nav-provider {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.mud-appbar {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ══════════════════════════════════════════════════════════════
   Leave Policy Page
   ══════════════════════════════════════════════════════════════ */

.mud-chip-custom {
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 500;
    border-radius: 6px;
}

.tbl-search {
    width: 300px;
}

/* ═══════════════ Drawer Shell ═══════════════ */
.lp-drawer .mud-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* ═══════════════ Header ═══════════════ */
.lp-drawer-header {
    position: relative;
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 50%, #1A237E 100%);
    padding: 18px 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.lp-header-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}

.lp-circle-1 {
    width: 180px;
    height: 180px;
    top: -60px;
    right: -40px;
}

.lp-circle-2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: 30px;
}

.lp-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.lp-close-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
}

.lp-close-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ═══════════════ Body ═══════════════ */
.lp-drawer-body {
    padding: 20px 24px 120px 24px;
    background: #f8fafc;
}

/* ═══════════════ Section Cards ═══════════════ */
.lp-section-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.lp-section-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lp-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

/* ═══════════════ Field Labels ═══════════════ */
.lp-field-label {
    font-weight: 600 !important;
    color: var(--mud-palette-text-secondary) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.7rem !important;
    margin-bottom: 6px !important;
    display: block;
}

/* ═══════════════ Input Styling ═══════════════ */
.lp-input .mud-input-outlined-border {
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-input .mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

/* ═══════════════ Status Toggle ═══════════════ */
.lp-status-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lp-status-indicator {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.lp-status-active {
    background: #ecfdf5;
}

.lp-status-inactive {
    background: #f3f4f6;
}

/* ═══════════════ Add Rule Button ═══════════════ */
.lp-add-rule-btn {
    text-transform: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.3px;
    padding: 4px 14px !important;
    box-shadow: 0 1px 3px rgba(21, 101, 192, 0.25) !important;
    transition: box-shadow 0.2s ease, transform 0.15s ease !important;
}

.lp-add-rule-btn:hover {
    box-shadow: 0 3px 8px rgba(21, 101, 192, 0.3) !important;
    transform: translateY(-1px);
}

/* ═══════════════ Info Alert ═══════════════ */
.lp-info-alert {
    border-radius: 10px !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    font-size: 0.82rem;
}

/* ═══════════════ Leave Rules Table ═══════════════ */
.leave-rules-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.leave-rules-table-wrap .leave-rules-table {
    table-layout: fixed;
    min-width: 600px;
}

.leave-rules-table .col-leave-type { width: 200px; min-width: 200px; max-width: 200px; }
.leave-rules-table .col-days      { width: 80px;  min-width: 80px;  max-width: 80px;  }
.leave-rules-table .col-permonth  { width: 100px; min-width: 100px; max-width: 100px; }
.leave-rules-table .col-paid      { width: 60px;  min-width: 60px;  max-width: 60px;  }
.leave-rules-table .col-carry     { width: 75px;  min-width: 75px;  max-width: 75px;  }
.leave-rules-table .col-actions   { width: 61px;  min-width: 61px;  max-width: 61px;  }

/* Table Header */
.leave-rules-table thead th {
    background: #f8fafc !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 10px 12px !important;
}

/* Table Rows – alternating tint */
.leave-rules-table tbody tr {
    transition: background 0.15s ease;
}

.leave-rules-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.leave-rules-table tbody tr:hover {
    background: #eef4ff !important;
}

.leave-rules-table tbody td {
    padding: 8px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle;
}

.leave-rules-table .leave-type-select {
    max-width: 100%;
    width: 100%;
}

.ar-muted {
    color: #94a3b8 !important;
}

.ar-italic {
    font-style: italic !important;
}

.leave-rules-table .leave-type-select .mud-input-slot {
    min-height: 40px;
    overflow: visible;
    text-overflow: clip;
}

.leave-rules-table .leave-type-select .mud-input-control input {
    overflow: visible;
    text-overflow: clip;
}

.leave-rules-table .input-narrow {
    width: 100%;
    max-width: 72px;
}

.leave-rules-table .info-icon {
    opacity: 0.55;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.leave-rules-table .info-icon:hover {
    opacity: 1;
}

/* ═══════════════ Delete Button ═══════════════ */
.lp-delete-btn {
    border-radius: 8px !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.lp-delete-btn:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    transform: scale(1.1);
}

/* ═══════════════ Empty State ═══════════════ */
.lp-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 16px;
}

/* ═══════════════ Footer ═══════════════ */
.lp-drawer-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.lp-footer-btn {
    text-transform: none !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    padding: 6px 24px !important;
    font-size: 0.85rem !important;
    transition: all 0.2s ease !important;
}

.lp-cancel-btn {
    border-color: #cbd5e1 !important;
    color: #64748b !important;
}

.lp-cancel-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

.lp-save-btn {
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3) !important;
    min-width: 160px;
}

.lp-save-btn:hover {
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.4) !important;
    transform: translateY(-1px);
}

/* ═══════════════ Rules section extra padding ═══════════════ */
.lp-rules-section {
    padding: 20px;
}


/* =============================================
   Login Page Styles — Login.razor.css
   ============================================= */

/* Base */
.login-container {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 20%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 20%), radial-gradient(circle at 40% 40%, rgba(255,255,255,0.03) 0%, transparent 20%);
    z-index: 0;
}

/* ── LEFT PANEL ── */
.login-left {
    flex: 0 0 60%;
    background: linear-gradient(135deg, #0B76B8 0%, #055A8F 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    position: relative;
    z-index: 1;
    color: white;
}

/* Floating shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation: float 15s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
    animation: float 20s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation: float 18s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Logo */
.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.logo-container {
    background: rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-icon {
    color: white;
    font-size: 32px !important;
}

.logo-text {
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

/* Branding */
.branding-content {
    max-width: 650px;
    z-index: 2;
}

.branding-title {
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.2;
}

.branding-subtitle {
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Feature pills */
.features-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    background: rgba(255,255,255,0.15);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
    }

.feature-icon {
    color: white;
    font-size: 24px !important;
}

.feature-text {
    font-weight: 600;
    color: white;
}

/* Footer */
.footer-section {
    z-index: 2;
}

.footer-text {
    color: rgba(255,255,255,0.6);
}

/* ── RIGHT PANEL ── */
.login-right {
    flex: 0 0 40%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

    .login-card .mud-card-content {
        padding: 40px;
    }

/* Header */
.login-header {
    margin-bottom: 32px;
    text-align: center;
}

.login-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: #0B76B8;
}

.login-subtitle {
    color: #64748B;
    font-weight: 400;
}

/* Form fields */
.form-field {
    margin-bottom: 24px;
}

.field-label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.custom-textfield .mud-input-outlined,
.custom-textfield .mud-input-outlined .mud-input-outlined-root {
    border-radius: 8px;
}

/* Form options row */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    color: #475569;
}

.forgot-password {
    text-decoration: none;
    color: #0B76B8;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .forgot-password:hover {
        color: #055A8F;
    }

/* Submit button */
.login-button {
    height: 48px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(11,118,184,0.3);
    transition: all 0.3s ease;
}

    .login-button:hover {
        box-shadow: 0 6px 16px rgba(11,118,184,0.4);
        transform: translateY(-1px);
    }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        flex: 0 0 50% !important;
        min-height: 50vh;
        padding: 40px 20px;
    }

    .login-right {
        flex: 0 0 50% !important;
        min-height: 50vh;
        padding: 20px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .login-left {
        flex: 0 0 40% !important;
        min-height: 40vh;
        padding: 30px 15px;
    }

    .login-right {
        flex: 0 0 60% !important;
        min-height: 60vh;
        padding: 15px;
    }

    .login-card .mud-card-content {
        padding: 24px;
    }

    .branding-title {
        font-size: 1.8rem;
    }

    .branding-subtitle {
        font-size: 0.9rem;
    }
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-wrapper .custom-textfield {
        flex: 1;
    }

.eye-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B !important;
    z-index: 2;
}

/* input ka right padding taki text eye icon ke neeche na jaye */
.password-wrapper .mud-input-root input {
    padding-right: 40px !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        display: none !important; /* ← sirf yeh add karo */
    }

    .login-right {
        flex: 0 0 100% !important;
        min-height: 100vh;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .login-right {
        flex: 0 0 100% !important;
        min-height: 100vh;
        padding: 15px;
    }

    .login-card .mud-card-content {
        padding: 24px;
    }
}

/* ══════════════════════════════════════════════════════════════
   Approve Requests Page
   ══════════════════════════════════════════════════════════════ */

.ar-page {
    padding: 24px 32px;
    background: var(--mud-palette-background);
    min-height: calc(100vh - 64px);
}

/* ── Premium Header ── */
.ar-header-panel {
    background: linear-gradient(135deg, #0B76B8 0%, #086299 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 118, 184, 0.15);
}

.ar-header-content {
    position: relative;
    z-index: 2;
}

.ar-header-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 4px !important;
}

.ar-header-subtitle {
    font-size: 14px !important;
    opacity: 0.9;
    font-weight: 400 !important;
}

.ar-header-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.ar-circle-1 { width: 250px; height: 250px; top: -100px; right: -50px; }
.ar-circle-2 { width: 120px; height: 120px; bottom: -40px; left: 10%; }

.ar-pending-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ar-pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: ar-pulse 2s infinite;
}

@keyframes ar-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ── Controls ── */
.ar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.ar-filter-tabs {
    background: var(--mud-palette-surface);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    display: flex;
    gap: 4px;
}

.ar-filter-btn {
    text-transform: none !important;
    border-radius: 8px !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}

.ar-filter-btn:not(.active) {
    color: #64748b !important;
}

.ar-filter-btn:not(.active):hover {
    background: var(--mud-palette-action-default-hover) !important;
}

.ar-filter-btn.active.pending { background: #fff7ed !important; color: #ea580c !important; border: 1px solid #ffedd5 !important; }
.ar-filter-btn.active.approved { background: #f0fdf4 !important; color: #16a34a !important; border: 1px solid #dcfce7 !important; }
.ar-filter-btn.active.rejected { background: #fef2f2 !important; color: #dc2626 !important; border: 1px solid #fee2e2 !important; }
.ar-filter-btn.active.all { background: #EBF5FC !important; color: #0B76B8 !important; border: 1px solid #dbeafe !important; }

.ar-search-box .mud-select .mud-input-outlined {
    border-radius: 10px !important;
    background: var(--mud-palette-surface) !important;
}

/* ── Card List ── */
.ar-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ar-request-card {
    background: var(--mud-palette-surface) !important;
    border-radius: 16px !important;
    border: 1px solid var(--mud-palette-lines-default) !important;
    padding: 20px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ar-request-card:hover {
    border-color: #0B76B8 !important;
    box-shadow: 0 10px 25px rgba(11, 118, 184, 0.1) !important;
    transform: translateY(-2px);
}

.ar-status-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

.border-pending { background: #f59e0b; }
.border-approved { background: #16a34a; }
.border-rejected { background: #dc2626; }

.ar-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.ar-emp-info-name {
    font-weight: 700 !important;
    color: var(--mud-palette-text-primary) !important;
    font-size: 16px !important;
}

.ar-type-badge {
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.badge-wfh { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.badge-leave { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-shortleave { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.badge-regularization { background: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; }

/* Dark mode overrides for badges with higher contrast */
.mud-dark-mode .badge-wfh { background: rgba(5, 150, 105, 0.15); color: #34d399; border-color: rgba(52, 211, 153, 0.3); }
.mud-dark-mode .badge-leave { background: rgba(37, 99, 235, 0.15); color: #60a5fa; border-color: rgba(96, 165, 250, 0.3); }
.mud-dark-mode .badge-shortleave { background: rgba(217, 119, 6, 0.15); color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.mud-dark-mode .badge-regularization { background: rgba(124, 58, 237, 0.15); color: #a78bfa; border-color: rgba(167, 139, 250, 0.3); }

.ar-card-date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.ar-date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.ar-days-count {
    background: var(--mud-palette-action-default-hover);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
}

.ar-balance-pills {
    display: flex;
    gap: 12px;
}

.ar-balance-pill {
    font-size: 11px;
    color: #94a3b8;
    gap: 4px;
    display: flex;
}

.ar-balance-pill strong {
    color: var(--mud-palette-text-primary);
}

.ar-reason-text {
    color: var(--mud-palette-text-secondary);
    font-style: italic;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.5;
    padding-left: 12px;
    border-left: 2px solid var(--mud-palette-lines-default);
}

/* ── Status Chips ── */
.ar-status-chip {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}

.status-pending { background: #fffbeb; color: #9a3412; border-color: #fde68a; }
.status-approved { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.status-rejected { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* ── Drawer Redesign ── */
.ar-drawer-root {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.ar-drawer-header-pro {
    padding: 24px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ar-drawer-hero {
    background: var(--mud-palette-background);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ar-drawer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.ar-info-item-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ar-info-item-value {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    font-size: 15px;
}

.ar-drawer-section-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.ar-drawer-reason-box {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    padding: 16px;
    color: var(--mud-palette-text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ar-drawer-actions-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
}

.ar-approve-btn {
    background: #16a34a !important;
    color: white !important;
    height: 48px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.ar-reject-btn {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    height: 48px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.ar-submit-btn {
    background: #0B76B8 !important;
    color: white !important;
    height: 52px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    box-shadow: 0 4px 15px rgba(11, 118, 184, 0.3) !important;
    width: 100%;
}