/* Employee Portal — extended styles */

/* Sidebar groups */
.emp-nav-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    padding: 0.5rem 1rem 0.35rem;
    margin-top: 0.25rem;
}

.emp-nav-toggle {
    width: 100%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 150ms ease;
}

.emp-nav-toggle:hover,
.emp-nav-toggle[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.emp-nav-toggle .emp-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emp-nav-toggle i.fa-chevron-down {
    font-size: 11px;
    transition: transform 200ms ease;
}

.emp-nav-toggle[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.emp-nav-submenu {
    padding-left: 0.5rem;
    margin-bottom: 0.25rem;
}

.emp-nav-submenu .nav-link {
    font-size: 13px;
    padding: 0.55rem 1rem 0.55rem 2.25rem;
}

.emp-nav-submenu .nav-link.coming-soon::after {
    content: 'Soon';
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

/* Dashboard hero */
.emp-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 45%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25);
}

.emp-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.emp-hero-greeting {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.emp-hero-sub {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.emp-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.emp-hero-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.emp-hero-stat strong {
    font-weight: 800;
}

.emp-hero-date {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Quick actions */
.emp-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.emp-quick-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-decoration: none;
    transition: all 140ms ease;
    white-space: nowrap;
}

.emp-quick-action:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.emp-quick-action i {
    font-size: 14px;
    color: #64748b;
}

.emp-quick-action-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    border-color: transparent;
}

.emp-quick-action-primary i {
    color: #fff;
}

.emp-quick-action-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

/* Home widgets */
.emp-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .emp-home-grid {
        grid-template-columns: 1fr;
    }
}

.emp-home-widget {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.emp-home-widget-wide {
    grid-column: 1 / -1;
}

.emp-home-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(248, 250, 252, 0.8);
}

.emp-home-widget-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emp-home-view-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--emp-primary, #0ea5e9);
    text-decoration: none;
    white-space: nowrap;
}

.emp-home-view-all:hover {
    color: #0284c7;
}

.emp-home-widget-body {
    padding: 1rem;
    flex: 1;
}

.emp-widget-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.emp-widget-status-not-marked { background: #f1f5f9; color: #64748b; }
.emp-widget-status-present { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.emp-widget-status-late { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.emp-widget-status-absent { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.emp-widget-status-half-day { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.emp-widget-status-leave { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
.emp-widget-status-holiday,
.emp-widget-status-weekoff { background: rgba(100, 116, 139, 0.12); color: #475569; }

.emp-widget-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.emp-widget-metric {
    text-align: center;
    padding: 8px 4px;
    background: #f8fafc;
    border-radius: 10px;
}

.emp-widget-metric .label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.emp-widget-metric strong {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.emp-widget-hint {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-top: 6px;
}

.emp-widget-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--emp-primary, #0ea5e9);
    text-decoration: none;
}

.emp-widget-cta.subtle {
    color: #64748b;
}

.emp-widget-cta:hover {
    color: #0284c7;
}

.emp-leave-total {
    text-align: center;
    margin-bottom: 12px;
}

.emp-leave-total-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #7c3aed;
    line-height: 1;
}

.emp-leave-total-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.emp-leave-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.emp-leave-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
}

.emp-leave-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.emp-leave-name {
    flex: 1;
    font-weight: 600;
    color: #334155;
}

.emp-leave-days {
    font-weight: 800;
    color: #0f172a;
}

.emp-salary-countdown {
    text-align: center;
    margin-bottom: 10px;
}

.emp-salary-days {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
}

.emp-salary-days-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.emp-salary-estimate {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    text-align: center;
}

.emp-tasks-summary {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 0;
}

.emp-tasks-stat {
    text-align: center;
}

.emp-tasks-stat .value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #2563eb;
    line-height: 1;
}

.emp-tasks-stat .label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.emp-widget-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #94a3b8;
}

.emp-widget-empty i {
    font-size: 1.75rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

.emp-widget-empty p {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
}

.emp-widget-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2rem 1rem;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

/* KPI cards */
.emp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.emp-kpi-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 150ms ease, box-shadow 150ms ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.emp-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    color: inherit;
}

.emp-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
    margin-bottom: 0.75rem;
}

.emp-kpi-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.emp-kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

.emp-kpi-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Feed cards */
.emp-feed-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.emp-feed-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.emp-feed-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 16px;
}

.emp-birthday-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.emp-birthday-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
}

/* Attendance clock */
.emp-clock-panel {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1.5rem;
}

.emp-live-timer {
    font-size: 3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    margin: 0.5rem 0;
    background: linear-gradient(90deg, #38bdf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emp-punch-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(34, 197, 94, 0.4);
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    position: relative;
}

.emp-punch-ring.working {
    border-color: rgba(34, 197, 94, 0.8);
    animation: emp-pulse 2s ease-in-out infinite;
}

.emp-punch-ring.out {
    border-color: rgba(100, 116, 139, 0.5);
}

@keyframes emp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}

.emp-geo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.emp-geo-badge.off {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.emp-method-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.emp-method-tab {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 150ms ease;
}

.emp-method-tab.active {
    background: var(--emp-primary);
    border-color: var(--emp-primary);
    color: #fff;
}

.emp-method-tab.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Career timeline */
.emp-timeline {
    position: relative;
    padding-left: 2rem;
}

.emp-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--emp-primary), #e2e8f0);
}

.emp-timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.emp-timeline-dot {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 10px;
    box-shadow: 0 0 0 4px #fff;
}

.emp-timeline-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.emp-timeline-sub {
    font-size: 13px;
    color: #64748b;
}

.emp-timeline-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Skills */
.emp-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    font-size: 13px;
    font-weight: 600;
    margin: 0 8px 8px 0;
}

.emp-skill-chip small {
    font-weight: 500;
    opacity: 0.7;
}

/* Reputation */
.emp-reputation-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.emp-reputation-score {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.emp-cert-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    transition: box-shadow 150ms ease;
}

.emp-cert-card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* Coming soon */
.emp-coming-soon {
    text-align: center;
    padding: 3rem 2rem;
}

.emp-coming-soon-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.15));
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--emp-primary);
}

.emp-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    text-align: left;
}

.emp-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.emp-feature-list li i {
    color: var(--emp-success);
}

@media (max-width: 768px) {
    .emp-hero { padding: 1.25rem; }
    .emp-hero-greeting { font-size: 1.35rem; }
    .emp-live-timer { font-size: 2.25rem; }
    .emp-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Documents Vault */
.emp-doc-vault-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0ea5e9 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.2);
}

.emp-doc-vault-hero-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emp-doc-vault-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.emp-doc-vault-hero .emp-page-title {
    color: #fff;
}

.emp-doc-vault-hero .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.emp-doc-vault-stats {
    display: flex;
    gap: 1rem;
}

.emp-doc-stat {
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    min-width: 72px;
}

.emp-doc-stat.warn {
    background: rgba(245, 158, 11, 0.25);
}

.emp-doc-stat .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.emp-doc-stat .label {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.emp-doc-expiry-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 12px;
}

.emp-doc-expiry-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f59e0b;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.emp-doc-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.emp-doc-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.emp-doc-category:hover {
    border-color: var(--cat-color, #6366f1);
    color: var(--cat-color, #6366f1);
}

.emp-doc-category.active {
    background: var(--cat-color, #6366f1);
    border-color: var(--cat-color, #6366f1);
    color: #fff;
}

.emp-doc-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
    font-size: 10px;
}

.emp-doc-category.active .emp-doc-cat-count {
    background: rgba(255, 255, 255, 0.25);
}

.emp-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.emp-doc-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.emp-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.emp-doc-card-highlight {
    box-shadow: 0 0 0 3px #f59e0b !important;
}

.emp-doc-card-accent {
    height: 4px;
}

.emp-doc-card-body {
    padding: 1rem 1rem 0.5rem;
    flex: 1;
}

.emp-doc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.emp-doc-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.emp-doc-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.emp-doc-card-meta {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin: 0 0 8px;
}

.emp-doc-expiry {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.emp-doc-expiry-valid {
    background: #ecfdf5;
    color: #15803d;
}

.emp-doc-expiry-expiring {
    background: #fffbeb;
    color: #b45309;
}

.emp-doc-expiry-expired {
    background: #fef2f2;
    color: #dc2626;
}

.emp-doc-expiry-none {
    display: none;
}

.emp-doc-card-note {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.emp-doc-card-actions {
    display: flex;
    gap: 8px;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid #f1f5f9;
}

.emp-doc-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94a3b8;
}

.emp-doc-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #cbd5e1;
}

.emp-doc-empty h4 {
    color: #475569;
    font-weight: 700;
}

.emp-doc-preview-modal {
    border-radius: 16px;
    overflow: hidden;
}

.emp-doc-preview-body {
    min-height: 420px;
    max-height: 70vh;
    background: #f8fafc;
}

.emp-doc-preview-frame {
    width: 100%;
    height: 70vh;
    border: none;
    display: block;
}

.emp-doc-preview-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 420px;
}

.emp-doc-preview-image {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.emp-doc-preview-fallback {
    padding: 2rem;
}

@media (max-width: 768px) {
    .emp-doc-vault-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .emp-doc-vault-stats {
        width: 100%;
        justify-content: space-between;
    }
}

.emp-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.emp-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.emp-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.emp-page-header h4 {
    font-weight: 700;
    color: #0f172a;
}

.emp-profile-role-badge {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

/* Team reject modal */
.team-reject-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.team-reject-modal__header {
    background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
    border-bottom: 1px solid #fecaca;
    gap: 12px;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
}

.team-reject-modal__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.team-reject-modal__subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.team-reject-modal__context {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.team-reject-modal__context-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.875rem;
}

.team-reject-modal__context-row + .team-reject-modal__context-row {
    border-top: 1px dashed #e2e8f0;
}

.team-reject-modal__context-label {
    color: #64748b;
    flex-shrink: 0;
}

.team-reject-modal__context-value {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.team-reject-modal__textarea {
    border-radius: 10px;
    resize: vertical;
    min-height: 110px;
}

.team-reject-modal__textarea:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 0.2rem rgba(248, 113, 113, 0.15);
}

.team-reject-modal__quick {
    margin-top: 1rem;
}

.team-reject-modal__quick-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.team-reject-modal__quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-reject-modal__chip {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.team-reject-modal__chip:hover {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #b91c1c;
}

.team-reject-modal .modal-footer .btn-danger {
    border-radius: 10px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
}

.team-reject-modal .modal-footer .btn-light {
    border-radius: 10px;
}

/* Team approve modal */
.team-approve-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.team-approve-modal__header {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-bottom: 1px solid #bbf7d0;
    gap: 12px;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
}

.team-approve-modal__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.team-approve-modal__subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.team-approve-modal__context {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.team-approve-modal__context-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.875rem;
}

.team-approve-modal__context-row + .team-approve-modal__context-row {
    border-top: 1px dashed #e2e8f0;
}

.team-approve-modal__context-label {
    color: #64748b;
    flex-shrink: 0;
}

.team-approve-modal__context-value {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.team-approve-modal__textarea {
    border-radius: 10px;
    resize: vertical;
    min-height: 88px;
}

.team-approve-modal__textarea:focus {
    border-color: #4ade80;
    box-shadow: 0 0 0 0.2rem rgba(74, 222, 128, 0.15);
}

.team-approve-modal__quick {
    margin-top: 1rem;
}

.team-approve-modal__quick-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.team-approve-modal__quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-approve-modal__chip {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.team-approve-modal__chip:hover {
    border-color: #86efac;
    background: #f0fdf4;
    color: #15803d;
}

.team-approve-modal .modal-footer .btn-success {
    border-radius: 10px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
}

.team-approve-modal .modal-footer .btn-light {
    border-radius: 10px;
}

