:root {
    --primary: #004AAD;
    --primary-dark: #002F73;
    --secondary: #FF7A00;
    --secondary-dark: #E66400;
    --secondary-soft: #FFF2E5;

    --dark: #101828;
    --text: #344054;
    --muted: #667085;
    --bg: #F4F7FB;
    --white: #FFFFFF;
    --border: #E4E7EC;

    --danger: #D92D20;
    --danger-bg: #FEF3F2;

    --success: #12B76A;
    --success-bg: #ECFDF3;

    --warning: #F79009;
    --warning-bg: #FFFAEB;

    --radius: 24px;
    --shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input {
    font-family: inherit;
}

/* =========================================================
   LOGIN EMPLEADO
========================================================= */

.employee-login-body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 74, 173, .24), transparent 32%),
        radial-gradient(circle at 86% 82%, rgba(255, 122, 0, .22), transparent 28%),
        linear-gradient(135deg, #F7FAFF 0%, #EEF4FF 55%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.employee-login-shell {
    width: 100%;
    max-width: 1120px;
    min-height: 660px;
    display: grid;
    grid-template-columns: 1fr .92fr;
    border-radius: 36px;
    overflow: hidden;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 28px 80px rgba(16, 24, 40, .16);
    backdrop-filter: blur(20px);
}

/* Lado izquierdo */

.employee-login-visual {
    position: relative;
    padding: 56px;
    background:
        linear-gradient(150deg, rgba(0, 74, 173, .98), rgba(0, 47, 115, .99));
    overflow: hidden;
    color: #fff;
}

.employee-login-visual::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    top: -160px;
    right: -150px;
    background: rgba(255, 122, 0, .26);
}

.employee-login-visual::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    left: -120px;
    bottom: -110px;
    background: rgba(255,255,255,.08);
}

.employee-logo-card {
    position: relative;
    z-index: 2;
    width: 250px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.employee-logo-card img {
    display: block;
    width: 100%;
}

.employee-hero-copy {
    position: relative;
    z-index: 2;
    margin-top: 72px;
    max-width: 470px;
}

.employee-hero-copy span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 20px;
}

.employee-hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -2px;
    color: #fff;
}

.employee-hero-copy p {
    margin: 22px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.65;
}

/* Preview */

.employee-check-preview {
    position: relative;
    z-index: 2;
    margin-top: 42px;
    max-width: 430px;
    padding: 20px;
    border-radius: 26px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 14px;
}

.preview-top strong {
    display: block;
    color: #fff;
    font-size: 16px;
}

.preview-top small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
}

.preview-status {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(18, 183, 106, .18);
    color: #B7F7D4;
    font-size: 12px;
    font-weight: 900;
}

.preview-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    color: var(--dark);
}

.preview-action-card strong {
    display: block;
    font-size: 14px;
}

.preview-action-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.preview-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 74, 173, .10);
    font-size: 20px;
}

.preview-icon.orange {
    background: rgba(255, 122, 0, .13);
}

.preview-icon.green {
    background: rgba(18, 183, 106, .13);
}

/* Lado derecho */

.employee-login-panel {
    padding: 56px;
    background: rgba(255,255,255,.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.employee-login-card {
    width: 100%;
    max-width: 420px;
}

.employee-mobile-logo {
    display: none;
    width: 220px;
    margin-bottom: 26px;
}

.employee-mobile-logo img {
    width: 100%;
    display: block;
}

.employee-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--secondary-soft);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 20px;
}

.employee-login-card h2 {
    margin: 0;
    color: var(--dark);
    font-size: 36px;
    letter-spacing: -1.2px;
}

.employee-login-card p {
    margin: 12px 0 30px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

/* Formularios */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 900;
}

.form-group input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 16px 16px;
    outline: none;
    color: var(--dark);
    background: #fff;
    font-size: 15px;
    transition: .2s ease;
}

.form-group input::placeholder {
    color: #98A2B3;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0, 74, 173, .10);
}

.btn-login {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 17px 20px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 38px rgba(0, 74, 173, .24);
    transition: .2s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 46px rgba(0, 74, 173, .30);
}

.btn-login:active {
    transform: translateY(0);
}

/* Alertas */

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.alert-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid #FDA29B;
}

.alert-success {
    background: var(--success-bg);
    color: #027A48;
    border: 1px solid #ABEFC6;
}

/* Cajas informativas */

.privacy-box {
    margin-top: 24px;
    padding: 16px;
    border-radius: 18px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.demo-box {
    margin-top: 22px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.demo-box strong {
    color: var(--dark);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 920px) {
    .employee-login-body {
        align-items: flex-start;
        padding: 18px;
    }

    .employee-login-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .employee-login-visual {
        display: none;
    }

    .employee-login-panel {
        padding: 38px 24px;
    }

    .employee-mobile-logo {
        display: block;
    }

    .employee-login-card h2 {
        font-size: 31px;
    }
}

@media (max-width: 480px) {
    .employee-login-body {
        padding: 0;
        background: #fff;
    }

    .employee-login-shell {
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
        border: 0;
    }

    .employee-login-panel {
        align-items: flex-start;
        padding: 34px 20px;
    }

    .employee-mobile-logo {
        width: 205px;
    }

    .employee-login-card h2 {
        font-size: 29px;
    }

    .employee-login-card p {
        font-size: 14px;
    }

    .form-group input {
        padding: 15px;
        border-radius: 15px;
    }

    .btn-login {
        padding: 16px;
        border-radius: 16px;
    }
}
/* =========================================================
   DASHBOARD EMPLEADO
========================================================= */

.employee-dashboard-body {
    min-height: 100vh;
    background: #F4F7FB;
    color: var(--text);
}

.employee-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.employee-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 26px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    flex-direction: column;
}

.employee-sidebar-logo {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 28px;
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

.employee-sidebar-logo img {
    display: block;
    width: 100%;
}

.employee-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.employee-nav a,
.employee-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    padding: 14px 15px;
    color: rgba(255,255,255,.78);
    font-weight: 800;
    font-size: 14px;
    transition: .2s ease;
}

.employee-nav a span,
.employee-logout span {
    width: 24px;
    text-align: center;
}

.employee-nav a:hover,
.employee-nav a.active {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.employee-logout {
    margin-top: auto;
    background: rgba(255,255,255,.10);
}

.employee-main {
    padding: 34px;
}

.employee-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.employee-kicker {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--secondary-soft);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.employee-topbar h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -1.4px;
}

.employee-topbar p {
    margin: 8px 0 0;
    color: var(--muted);
}

.employee-profile-mini {
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 16px 40px rgba(16,24,40,.06);
}

.employee-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.employee-profile-mini strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.employee-profile-mini span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.employee-status-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 24px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255,122,0,.28), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 24px 60px rgba(0,74,173,.20);
}

.employee-status-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.status-content,
.status-actions {
    position: relative;
    z-index: 2;
}

.status-label {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.status-content h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -1.6px;
    color: #fff;
}

.status-content p {
    margin: 16px 0 0;
    max-width: 520px;
    color: rgba(255,255,255,.80);
    line-height: 1.6;
}

.status-actions {
    width: 260px;
    min-width: 260px;
}

.btn-check {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    border-radius: 18px;
    padding: 17px 20px;
    color: #fff;
    border: 0;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

.btn-check.primary {
    background: linear-gradient(135deg, var(--secondary), #FF9F2E);
}

.btn-check.secondary {
    background: linear-gradient(135deg, var(--success), #32D583);
}

.btn-check.disabled {
    background: rgba(255,255,255,.18);
    color: rgba(255,255,255,.74);
    cursor: not-allowed;
}

.status-actions small {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.employee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.employee-metric-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 16px 40px rgba(16,24,40,.06);
}

.metric-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 21px;
}

.metric-icon.blue {
    background: rgba(0,74,173,.10);
}

.metric-icon.orange {
    background: rgba(255,122,0,.12);
}

.metric-icon.green {
    background: rgba(18,183,106,.12);
}

.metric-icon.purple {
    background: rgba(105,65,198,.10);
}

.employee-metric-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.employee-metric-card strong {
    display: block;
    margin-top: 5px;
    color: var(--dark);
    font-size: 19px;
}

.employee-content-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 24px;
    margin-bottom: 24px;
}

.employee-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(16,24,40,.06);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-header h3 {
    margin: 0;
    color: var(--dark);
    font-size: 22px;
    letter-spacing: -.5px;
}

.panel-header p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.panel-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
}

.employee-info-list {
    display: grid;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid #F2F4F7;
}

.info-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.info-row strong {
    color: var(--dark);
    text-align: right;
    font-size: 14px;
}

.vacation-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,74,173,.08), rgba(255,122,0,.08));
    border: 1px solid var(--border);
}

.vacation-number {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 900;
}

.vacation-box strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
}

.vacation-box span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.45;
}

.vacation-progress {
    margin: 18px 0;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #EAECF0;
    overflow: hidden;
}

.vacation-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-outline {
    width: 100%;
    min-height: 52px;
    border-radius: 17px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
    background: #fff;
    font-weight: 900;
}

.btn-outline small {
    color: var(--secondary);
    font-weight: 900;
}

.employee-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
}

.employee-table th {
    text-align: left;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
}

.employee-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
}

.status-badge {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.status-badge.success {
    color: #027A48;
    background: #ECFDF3;
}

.status-badge.warning {
    color: #B54708;
    background: #FFFAEB;
}

.status-badge.danger {
    color: #B42318;
    background: #FEF3F2;
}

.status-badge.info {
    color: #175CD3;
    background: #EFF8FF;
}

.status-badge.primary {
    color: var(--primary);
    background: rgba(0,74,173,.10);
}

.status-badge.muted {
    color: var(--muted);
    background: #F2F4F7;
}

.empty-state {
    border-radius: 20px;
    border: 1px dashed var(--border);
    background: #F9FAFB;
    padding: 34px;
    text-align: center;
}

.empty-state strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
}

.empty-state span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

/* Responsive dashboard empleado */

@media (max-width: 1120px) {
    .employee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .employee-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .employee-app {
        grid-template-columns: 1fr;
    }

    .employee-sidebar {
        position: relative;
        min-height: auto;
        padding: 18px;
    }

    .employee-sidebar-logo {
        max-width: 220px;
        margin-bottom: 18px;
    }

    .employee-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .employee-logout {
        margin-top: 12px;
        justify-content: center;
    }

    .employee-main {
        padding: 24px 18px;
    }

    .employee-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .employee-profile-mini {
        width: 100%;
        min-width: 0;
    }

    .employee-status-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-actions {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .employee-grid {
        grid-template-columns: 1fr;
    }

    .employee-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .employee-status-card {
        padding: 24px;
        border-radius: 24px;
    }

    .employee-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .info-row strong {
        text-align: left;
    }

    .employee-table,
    .employee-table thead,
    .employee-table tbody,
    .employee-table th,
    .employee-table td,
    .employee-table tr {
        display: block;
    }

    .employee-table thead {
        display: none;
    }

    .employee-table tr {
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 14px;
        margin-bottom: 14px;
        background: #fff;
    }

    .employee-table td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        border: 0;
        padding: 9px 0;
    }

    .employee-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-weight: 900;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .employee-nav {
        grid-template-columns: 1fr;
    }

    .employee-main {
        padding: 20px 14px;
    }

    .employee-topbar h1 {
        font-size: 32px;
    }
}
/* =========================================================
   QUICK CHECK-IN / CHECK-OUT
========================================================= */

.quick-check-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 18%, rgba(0, 74, 173, .18), transparent 32%),
        radial-gradient(circle at 90% 86%, rgba(255, 122, 0, .18), transparent 30%),
        linear-gradient(135deg, #F7FAFF 0%, #EEF4FF 58%, #FFFFFF 100%);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.quick-check-wrap {
    width: 100%;
    max-width: 620px;
}

.quick-check-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(16,24,40,.14);
    backdrop-filter: blur(20px);
}

.quick-check-header {
    text-align: center;
    position: relative;
}

.quick-back {
    position: absolute;
    left: 0;
    top: 0;
    background: #F2F4F7;
    color: var(--muted);
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 900;
}

.quick-logo {
    width: 210px;
    margin: 0 auto 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 13px 16px;
    box-shadow: 0 12px 30px rgba(16,24,40,.08);
}

.quick-logo img {
    display: block;
    width: 100%;
}

.quick-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--secondary-soft);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.quick-check-header h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -1.2px;
}

.quick-check-header p {
    max-width: 460px;
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.quick-summary {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-summary div {
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 13px;
    text-align: center;
}

.quick-summary span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.quick-summary strong {
    display: block;
    margin-top: 5px;
    color: var(--dark);
    font-size: 15px;
}

.quick-process {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    align-items: stretch;
    margin-top: 16px;
}

.quick-camera-mini {
    width: 150px;
    height: 150px;
    border-radius: 26px;
    overflow: hidden;
    background: #101828;
    border: 4px solid #fff;
    box-shadow: 0 16px 36px rgba(16,24,40,.18);
}

.quick-camera-mini video,
.quick-camera-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-process-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-status-item {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 17px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(16,24,40,.05);
}

.quick-status-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
}

.quick-status-item small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.quick-dot {
    width: 13px;
    height: 13px;
    min-width: 13px;
    border-radius: 50%;
    background: #98A2B3;
}

.quick-dot.waiting {
    background: #98A2B3;
}

.quick-dot.loading {
    background: #F79009;
    box-shadow: 0 0 0 5px rgba(247,144,9,.15);
}

.quick-dot.ok {
    background: #12B76A;
    box-shadow: 0 0 0 5px rgba(18,183,106,.15);
}

.quick-dot.error {
    background: #D92D20;
    box-shadow: 0 0 0 5px rgba(217,45,32,.15);
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 10px;
    margin-top: auto;
}

.quick-btn {
    min-height: 48px;
    border: 0;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.quick-btn.secondary {
    background: var(--primary);
    color: #fff;
}

.quick-btn.outline {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary);
}

.quick-btn:disabled {
    background: #EAECF0;
    color: #98A2B3;
    cursor: not-allowed;
}

.quick-message {
    margin-top: 16px;
    padding: 14px 15px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.quick-message.success {
    background: #ECFDF3;
    color: #027A48;
    border: 1px solid #ABEFC6;
}

.quick-message.error {
    background: #FEF3F2;
    color: #B42318;
    border: 1px solid #FDA29B;
}

.quick-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 18px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0,74,173,.23);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quick-submit:disabled {
    background: #EAECF0;
    color: #98A2B3;
    cursor: not-allowed;
    box-shadow: none;
}

.quick-legal {
    margin: 14px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
    line-height: 1.45;
}

.quick-complete {
    text-align: center;
    padding: 24px 10px 6px;
}

.quick-complete div {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: #ECFDF3;
    font-size: 40px;
}

.quick-complete h2 {
    margin: 0;
    color: var(--dark);
    font-size: 27px;
}

.quick-complete p {
    margin: 10px 0 0;
    color: var(--muted);
}

@media (max-width: 620px) {
    .quick-check-body {
        padding: 0;
        background: #fff;
        align-items: flex-start;
    }

    .quick-check-wrap {
        max-width: 100%;
    }

    .quick-check-card {
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        border: 0;
        padding: 22px 16px;
    }

    .quick-back {
        position: static;
        display: inline-flex;
        margin-bottom: 18px;
    }

    .quick-logo {
        width: 200px;
    }

    .quick-process {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }

    .quick-camera-mini {
        width: 120px;
        height: 120px;
        border-radius: 22px;
    }

    .quick-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .quick-process {
        grid-template-columns: 1fr;
    }

    .quick-camera-mini {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   HISTORIAL EMPLEADO
========================================================= */

.history-filter-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 16px 40px rgba(16,24,40,.06);
}

.history-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    gap: 14px;
    align-items: end;
}

.history-filter-group label {
    display: block;
    color: var(--dark);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.history-filter-group input,
.history-filter-group select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 13px 14px;
    outline: none;
    background: #fff;
    color: var(--dark);
    font-weight: 700;
}

.history-filter-group input:focus,
.history-filter-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0,74,173,.08);
}

.history-filter-btn,
.history-clean-btn {
    min-height: 47px;
    border-radius: 15px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: 0;
    cursor: pointer;
}

.history-filter-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.history-clean-btn {
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--border);
}

.history-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.history-full-panel {
    margin-bottom: 30px;
}

.history-records {
    display: grid;
    gap: 16px;
}

.history-record-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,24,40,.05);
}

.history-record-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.history-date {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #F2F4F7;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.history-record-top h4 {
    margin: 0;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -.6px;
}

.history-record-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.history-info-box {
    background: #F9FAFB;
    border: 1px solid #F2F4F7;
    border-radius: 18px;
    padding: 15px;
}

.history-info-box span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.history-info-box strong {
    display: block;
    margin-top: 6px;
    color: var(--dark);
    font-size: 17px;
}

.history-mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.history-mini-actions a,
.history-selfie-btn {
    border: 0;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    color: var(--primary);
    background: rgba(0,74,173,.08);
}

.history-device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.history-device-grid div {
    min-width: 0;
}

.history-device-grid span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.history-device-grid strong {
    display: block;
    color: var(--dark);
    font-size: 12px;
    margin-top: 5px;
    word-break: break-word;
}

.history-observation {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #FFFAEB;
    border: 1px solid #FEDF89;
    color: #B54708;
    font-size: 13px;
    font-weight: 800;
}

.history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
}

.history-pagination a,
.history-pagination span {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
}

.history-pagination a {
    color: #fff;
    background: var(--primary);
}

.history-pagination span {
    color: var(--muted);
    background: #F2F4F7;
}

.history-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(16,24,40,.78);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.history-modal-content {
    position: relative;
    width: min(520px, 96vw);
    background: #fff;
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.history-modal-content button {
    position: absolute;
    right: -12px;
    top: -12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--secondary);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    font-weight: 900;
}

.history-modal-content img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    background: #101828;
}

@media (max-width: 1120px) {
    .history-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .history-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-record-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .history-device-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .history-filter-form {
        grid-template-columns: 1fr;
    }

    .history-metrics-grid {
        grid-template-columns: 1fr;
    }

    .history-record-card {
        padding: 16px;
        border-radius: 20px;
    }

    .history-record-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .history-record-grid {
        grid-template-columns: 1fr;
    }

    .history-device-grid {
        grid-template-columns: 1fr;
    }

    .history-pagination {
        flex-direction: column;
    }

    .history-pagination a,
    .history-pagination span {
        width: 100%;
    }
}
/* =========================================================
   VACACIONES EMPLEADO
========================================================= */

.vacation-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,122,0,.28), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 24px 60px rgba(0,74,173,.20);
}

.vacation-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.vacation-hero-content,
.vacation-hero-card {
    position: relative;
    z-index: 2;
}

.vacation-hero-content span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.vacation-hero-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -1.5px;
}

.vacation-hero-content p {
    max-width: 600px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.80);
    line-height: 1.6;
}

.vacation-hero-card {
    width: 220px;
    min-width: 220px;
    padding: 22px;
    border-radius: 26px;
    text-align: center;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.20);
}

.vacation-circle {
    width: 94px;
    height: 94px;
    margin: 0 auto 14px;
    border-radius: 32px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--primary);
    font-size: 38px;
    font-weight: 900;
}

.vacation-hero-card strong {
    display: block;
    color: #fff;
    font-size: 18px;
}

.vacation-hero-card span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.vacation-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.vacation-content-grid {
    grid-template-columns: 1.15fr .85fr;
}

.vacation-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 16px;
    outline: none;
    color: var(--dark);
    background: #fff;
    font-size: 15px;
    resize: vertical;
    transition: .2s ease;
    font-family: inherit;
}

.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0,74,173,.10);
}

.vacation-days-preview {
    margin: 4px 0 16px;
    padding: 14px 15px;
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.vacation-days-preview.ok {
    color: #027A48;
    background: #ECFDF3;
    border-color: #ABEFC6;
}

.vacation-days-preview.error {
    color: #B42318;
    background: #FEF3F2;
    border-color: #FDA29B;
}

.vacation-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0,74,173,.20);
}

.vacation-balance-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0,74,173,.08), rgba(255,122,0,.08));
    border: 1px solid var(--border);
}

.vacation-big-number {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.vacation-balance-box strong {
    display: block;
    color: var(--dark);
    font-size: 19px;
}

.vacation-balance-box span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.vacation-balance-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.vacation-balance-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 13px;
    border-radius: 15px;
    background: #F9FAFB;
    border: 1px solid #F2F4F7;
}

.vacation-balance-list span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.vacation-balance-list strong {
    color: var(--dark);
    font-size: 13px;
    text-align: right;
}

.vacation-request-list {
    display: grid;
    gap: 16px;
}

.vacation-request-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,24,40,.05);
}

.vacation-request-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.vacation-date-range {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #F2F4F7;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.vacation-request-top h4 {
    margin: 0;
    color: var(--dark);
    font-size: 23px;
    letter-spacing: -.5px;
}

.vacation-request-note,
.vacation-admin-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
}

.vacation-request-note {
    background: #F9FAFB;
    border: 1px solid var(--border);
}

.vacation-admin-note {
    background: #EFF8FF;
    border: 1px solid #B2DDFF;
}

.vacation-request-note span,
.vacation-admin-note span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.vacation-request-note p,
.vacation-admin-note p {
    margin: 0;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.5;
}

.vacation-request-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.vacation-request-bottom small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.vacation-cancel-btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 13px;
    background: #FEF3F2;
    color: #B42318;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1120px) {
    .vacation-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vacation-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .vacation-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .vacation-hero-card {
        width: 100%;
        min-width: 0;
    }

    .vacation-form-grid {
        grid-template-columns: 1fr;
    }

    .vacation-metrics-grid {
        grid-template-columns: 1fr;
    }

    .vacation-request-top,
    .vacation-request-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .vacation-cancel-btn {
        width: 100%;
        min-height: 42px;
    }

    .vacation-balance-list div {
        flex-direction: column;
        gap: 6px;
    }

    .vacation-balance-list strong {
        text-align: left;
    }
}
/* =========================================================
   PERFIL EMPLEADO
========================================================= */

.profile-hero {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-main-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,122,0,.24), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 24px 60px rgba(0,74,173,.20);
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-main-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.profile-avatar-big {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    min-width: 96px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--primary);
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.profile-main-card div:last-child {
    position: relative;
    z-index: 2;
}

.profile-main-card span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.profile-main-card h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -1.4px;
    line-height: 1;
}

.profile-main-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.80);
    line-height: 1.5;
}

.profile-status-card {
    border-radius: 30px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(16,24,40,.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-status-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.profile-status-card strong {
    display: block;
    margin-top: 8px;
    color: #027A48;
    font-size: 34px;
    letter-spacing: -1px;
}

.profile-status-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 700;
}

.profile-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.profile-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.profile-info-list {
    display: grid;
    gap: 12px;
}

.profile-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid #F2F4F7;
}

.profile-info-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.profile-info-row strong {
    color: var(--dark);
    text-align: right;
    font-size: 14px;
}

.profile-form {
    display: grid;
    gap: 0;
}

.profile-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0,74,173,.20);
}

.profile-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 16px;
    outline: none;
    color: var(--dark);
    background: #fff;
    font-size: 15px;
    resize: vertical;
    transition: .2s ease;
    font-family: inherit;
}

.profile-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0,74,173,.10);
}

.profile-vacation-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0,74,173,.08), rgba(255,122,0,.08));
    border: 1px solid var(--border);
}

.profile-vacation-number {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.profile-vacation-box strong {
    display: block;
    color: var(--dark);
    font-size: 19px;
}

.profile-vacation-box span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.profile-outline-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 17px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #fff;
    font-weight: 900;
    margin-top: 18px;
}

@media (max-width: 1120px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profile-main-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .profile-status-card {
        border-radius: 24px;
    }

    .profile-metrics-grid {
        grid-template-columns: 1fr;
    }

    .profile-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .profile-info-row strong {
        text-align: left;
    }

    .profile-vacation-box {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================================================
   HOME OFFICE EMPLEADO
========================================================= */

.homeoffice-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255,122,0,.28), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 24px 60px rgba(0,74,173,.20);
}

.homeoffice-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.homeoffice-hero-content,
.homeoffice-hero-card {
    position: relative;
    z-index: 2;
}

.homeoffice-hero-content span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.homeoffice-hero-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -1.5px;
}

.homeoffice-hero-content p {
    max-width: 640px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.80);
    line-height: 1.6;
}

.homeoffice-hero-card {
    width: 230px;
    min-width: 230px;
    padding: 22px;
    border-radius: 26px;
    text-align: center;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.20);
}

.homeoffice-hero-card div {
    width: 82px;
    height: 82px;
    margin: 0 auto 14px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--primary);
    font-size: 38px;
}

.homeoffice-hero-card strong {
    display: block;
    color: #fff;
    font-size: 18px;
}

.homeoffice-hero-card span {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.45;
}

.homeoffice-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.homeoffice-content-grid {
    grid-template-columns: 1.1fr .9fr;
}

.homeoffice-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 16px;
    outline: none;
    color: var(--dark);
    background: #fff;
    font-size: 15px;
    resize: vertical;
    transition: .2s ease;
    font-family: inherit;
}

.homeoffice-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0,74,173,.10);
}

.homeoffice-rule-box {
    margin: 4px 0 16px;
    padding: 15px;
    border-radius: 17px;
    background: #FFFAEB;
    border: 1px solid #FEDF89;
    color: #B54708;
    font-size: 13px;
    line-height: 1.5;
}

.homeoffice-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0,74,173,.20);
}

.homeoffice-office-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0,74,173,.08), rgba(255,122,0,.08));
    border: 1px solid var(--border);
}

.homeoffice-office-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 32px;
}

.homeoffice-office-card strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
}

.homeoffice-office-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.homeoffice-office-note {
    margin-top: 16px;
    padding: 15px;
    border-radius: 17px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.homeoffice-request-list {
    display: grid;
    gap: 16px;
}

.homeoffice-request-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,24,40,.05);
}

.homeoffice-request-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.homeoffice-date {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #F2F4F7;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.homeoffice-request-top h4 {
    margin: 0;
    color: var(--dark);
    font-size: 23px;
    letter-spacing: -.5px;
}

.homeoffice-note,
.homeoffice-admin-note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
}

.homeoffice-note {
    background: #F9FAFB;
    border: 1px solid var(--border);
}

.homeoffice-admin-note {
    background: #EFF8FF;
    border: 1px solid #B2DDFF;
}

.homeoffice-note span,
.homeoffice-admin-note span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.homeoffice-note p,
.homeoffice-admin-note p {
    margin: 0;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.5;
}

.homeoffice-request-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.homeoffice-request-bottom small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.homeoffice-cancel-btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 13px;
    background: #FEF3F2;
    color: #B42318;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1120px) {
    .homeoffice-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .homeoffice-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .homeoffice-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .homeoffice-hero-card {
        width: 100%;
        min-width: 0;
    }

    .homeoffice-metrics-grid {
        grid-template-columns: 1fr;
    }

    .homeoffice-request-top,
    .homeoffice-request-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .homeoffice-cancel-btn {
        width: 100%;
        min-height: 42px;
    }
}
.homeoffice-link-btn {
    text-decoration: none;
    margin-top: 16px;
}

.homeoffice-check-alert {
    margin: 16px 0 18px;
    padding: 15px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.45;
}

.homeoffice-check-alert strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.homeoffice-check-alert span {
    display: block;
}

.homeoffice-check-alert.success {
    background: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #027A48;
}

.homeoffice-check-alert.warning {
    background: #FFFAEB;
    border: 1px solid #FEDF89;
    color: #B54708;
}
/* =========================================================
   PERFIL EMPLEADO - FIX FOTO CIRCULAR
========================================================= */

.employee-avatar-photo,
.profile-avatar-hero,
.profile-photo-preview-circle {
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.employee-avatar-photo img,
.profile-avatar-hero img,
.profile-photo-preview-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.employee-avatar-photo {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
}

.profile-hero-fixed {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-main-card-fixed {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 28px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255,122,0,.20), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 24px 60px rgba(0,74,173,.20);
    display: flex;
    align-items: center;
    gap: 22px;
}

.profile-main-card-fixed::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.profile-avatar-hero {
    width: 112px;
    height: 112px;
    min-width: 112px;
    background: rgba(255,255,255,.18);
    border: 4px solid rgba(255,255,255,.22);
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
    display: grid;
    place-items: center;
    z-index: 2;
}

.profile-avatar-hero span {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
}

.profile-main-card-info {
    position: relative;
    z-index: 2;
}

.profile-badge-employee {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.profile-main-card-info h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1;
    color: #fff;
    letter-spacing: -1.5px;
}

.profile-main-card-info p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.5;
}

.profile-photo-panel-fixed {
    margin-bottom: 24px;
}

.profile-photo-form-fixed {
    margin: 0;
}

.profile-photo-layout {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 20px;
    border-radius: 24px;
    background: #F9FAFB;
    border: 1px solid var(--border);
}

.profile-photo-preview-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 36px rgba(16,24,40,.14);
    display: grid;
    place-items: center;
}

.profile-photo-preview-circle span {
    color: #fff;
    font-size: 36px;
    font-weight: 900;
}

.profile-photo-controls label {
    display: block;
    color: var(--dark);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 8px;
}

.profile-photo-controls input[type="file"] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
    color: var(--dark);
    font-size: 14px;
}

.profile-photo-controls small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.profile-photo-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.profile-photo-submit {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(0,74,173,.18);
}

.profile-status-card {
    border-radius: 30px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(16,24,40,.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-status-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.profile-status-card strong {
    display: block;
    margin-top: 8px;
    color: #027A48;
    font-size: 34px;
    letter-spacing: -1px;
}

.profile-status-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 700;
}

.profile-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.profile-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.profile-info-list {
    display: grid;
    gap: 12px;
}

.profile-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid #F2F4F7;
}

.profile-info-row span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.profile-info-row strong {
    color: var(--dark);
    text-align: right;
    font-size: 14px;
}

.profile-form {
    display: grid;
    gap: 0;
}

.profile-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 17px;
    padding: 16px;
    outline: none;
    color: var(--dark);
    background: #fff;
    font-size: 15px;
    resize: vertical;
    transition: .2s ease;
    font-family: inherit;
}

.profile-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(0,74,173,.10);
}

.profile-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0,74,173,.20);
}

.profile-vacation-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0,74,173,.08), rgba(255,122,0,.08));
    border: 1px solid var(--border);
}

.profile-vacation-number {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.profile-vacation-box strong {
    display: block;
    color: var(--dark);
    font-size: 19px;
}

.profile-vacation-box span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.profile-outline-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 17px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #fff;
    font-weight: 900;
    margin-top: 18px;
}

@media (max-width: 1120px) {
    .profile-hero-fixed {
        grid-template-columns: 1fr;
    }

    .profile-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .profile-photo-layout {
        grid-template-columns: 120px 1fr;
    }

    .profile-photo-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .profile-main-card-fixed {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        border-radius: 24px;
    }

    .profile-main-card-info h2 {
        font-size: 34px;
    }

    .profile-photo-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo-preview-circle {
        margin: 0 auto;
    }

    .profile-photo-action {
        justify-content: center;
    }

    .profile-photo-submit {
        width: 100%;
    }

    .profile-metrics-grid {
        grid-template-columns: 1fr;
    }

    .profile-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .profile-info-row strong {
        text-align: left;
    }

    .profile-vacation-box {
        flex-direction: column;
        align-items: flex-start;
    }
}
.homeoffice-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 34%),
        linear-gradient(135deg, #004AAD 0%, #0E7CF4 48%, #00A3FF 100%);
    border-radius: 28px;
    padding: 28px;
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 74, 173, 0.18);
    overflow: hidden;
    position: relative;
}

.homeoffice-hero::before {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.homeoffice-hero-content {
    position: relative;
    z-index: 1;
}

.homeoffice-hero-content span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 13px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.homeoffice-hero-content h2 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.homeoffice-hero-content p {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15.5px;
    line-height: 1.65;
}

.homeoffice-hero-card {
    position: relative;
    z-index: 1;
    min-height: 180px;
    border-radius: 24px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homeoffice-hero-card div {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #004AAD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.homeoffice-hero-card strong {
    display: block;
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.homeoffice-hero-card span {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.45;
}

.homeoffice-hero-card.is-disabled {
    background: rgba(255, 255, 255, 0.12);
}

.homeoffice-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.homeoffice-secondary-metrics {
    margin-top: -4px;
    margin-bottom: 22px;
}

.homeoffice-content-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    align-items: start;
    margin-bottom: 22px;
}

.homeoffice-form .form-group {
    margin-bottom: 18px;
}

.homeoffice-form label {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.homeoffice-form input[type="date"],
.homeoffice-form textarea {
    width: 100%;
    border: 1px solid #D9E2F0;
    border-radius: 16px;
    background: #ffffff;
    color: #172033;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.homeoffice-form input[type="date"] {
    min-height: 50px;
    padding: 0 14px;
}

.homeoffice-form textarea {
    padding: 14px;
    resize: vertical;
    min-height: 112px;
    font-family: inherit;
}

.homeoffice-form input[type="date"]:focus,
.homeoffice-form textarea:focus {
    border-color: #004AAD;
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.1);
}

.homeoffice-form input:disabled,
.homeoffice-form textarea:disabled {
    background: #F3F6FB;
    color: #8A96A8;
    cursor: not-allowed;
}

.homeoffice-rule-box {
    margin: 4px 0 18px;
    padding: 15px 16px;
    border-radius: 18px;
    background: #F4F8FF;
    border: 1px solid #DCEAFF;
    color: #43536A;
    font-size: 14px;
    line-height: 1.5;
}

.homeoffice-rule-box strong {
    color: #004AAD;
}

.homeoffice-submit {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #004AAD, #0E7CF4);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 14px 26px rgba(0, 74, 173, 0.22);
}

.homeoffice-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(0, 74, 173, 0.28);
}

.homeoffice-submit:disabled {
    background: #AEB8C8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.homeoffice-office-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: #F7FAFF;
    border: 1px solid #E2EAF7;
    margin-bottom: 16px;
}

.homeoffice-office-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EAF3FF;
    font-size: 24px;
}

.homeoffice-office-card strong {
    display: block;
    color: #172033;
    font-size: 16px;
    margin-bottom: 5px;
}

.homeoffice-office-card span {
    display: block;
    color: #65758B;
    font-size: 14px;
    line-height: 1.5;
}

.homeoffice-office-note {
    padding: 16px;
    border-radius: 18px;
    background: #FFF8E8;
    border: 1px solid #FFE3A3;
    color: #8A5C00;
    font-size: 14px;
    line-height: 1.55;
}

.homeoffice-policy-card {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid #E2EAF7;
    background: #ffffff;
}

.homeoffice-policy-card h4 {
    margin: 0 0 14px;
    color: #172033;
    font-size: 16px;
}

.homeoffice-policy-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.homeoffice-policy-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #EEF2F7;
}

.homeoffice-policy-card li:first-child {
    border-top: none;
    padding-top: 0;
}

.homeoffice-policy-card li:last-child {
    padding-bottom: 0;
}

.homeoffice-policy-card li span {
    color: #65758B;
    font-size: 14px;
}

.homeoffice-policy-card li strong {
    color: #172033;
    font-size: 14px;
    text-align: right;
}

.homeoffice-request-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.homeoffice-request-card {
    border: 1px solid #E2EAF7;
    border-radius: 22px;
    background: #ffffff;
    padding: 18px;
    transition: 0.2s ease;
}

.homeoffice-request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(18, 38, 63, 0.08);
}

.homeoffice-request-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.homeoffice-date {
    display: block;
    color: #65758B;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.homeoffice-request-card h4 {
    margin: 0;
    color: #172033;
    font-size: 20px;
    letter-spacing: -0.4px;
}

.homeoffice-note {
    padding: 14px;
    border-radius: 16px;
    background: #F7FAFF;
    border: 1px solid #E2EAF7;
    margin: 12px 0;
}

.homeoffice-note span {
    display: block;
    color: #004AAD;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.homeoffice-note p {
    margin: 0;
    color: #43536A;
    font-size: 14px;
    line-height: 1.5;
}

.homeoffice-note.admin-note {
    background: #FFF8E8;
    border-color: #FFE3A3;
}

.homeoffice-note.admin-note span {
    color: #8A5C00;
}

.homeoffice-request-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #EEF2F7;
}

.homeoffice-request-bottom small {
    color: #8A96A8;
    font-size: 12.5px;
}

.homeoffice-cancel-btn {
    border: none;
    border-radius: 12px;
    padding: 9px 13px;
    background: #FFF1F0;
    color: #D92D20;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.homeoffice-cancel-btn:hover {
    background: #FFE4E2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.status-badge.success {
    background: #ECFDF3;
    color: #067647;
}

.status-badge.muted {
    background: #F2F4F7;
    color: #667085;
}

.status-badge.danger {
    background: #FEF3F2;
    color: #B42318;
}

@media (max-width: 1100px) {
    .homeoffice-hero {
        grid-template-columns: 1fr;
    }

    .homeoffice-hero-card {
        min-height: auto;
    }

    .homeoffice-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homeoffice-content-grid {
        grid-template-columns: 1fr;
    }

    .homeoffice-request-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .homeoffice-hero {
        padding: 22px;
        border-radius: 24px;
    }

    .homeoffice-hero-content h2 {
        font-size: 28px;
    }

    .homeoffice-metrics-grid {
        grid-template-columns: 1fr;
    }

    .homeoffice-request-top {
        flex-direction: column;
    }

    .homeoffice-request-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .homeoffice-request-bottom form,
    .homeoffice-cancel-btn {
        width: 100%;
    }
}