/* modern-employee-dashboard.css */
.emp-dashboard-wrapper {
    padding: var(--company-spacing-4, 1.5rem);
    background: var(--company-bg-secondary, #f3f4f6);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Welcome Banner */
.emp-welcome-banner {
    background: linear-gradient(135deg, var(--company-primary-600, #2563eb) 0%, var(--company-primary-800, #1e3a8a) 100%);
    border-radius: var(--company-radius-lg, 1rem);
    padding: 1rem 1rem;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.emp-welcome-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.emp-welcome-text h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.emp-welcome-text p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

.emp-welcome-date {
    text-align: right;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: var(--company-radius-md, 0.75rem);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.emp-welcome-date .time {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: block;
}

.emp-welcome-date .date {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* Grid Layout */
.emp-dashboard-grid {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    gap: 1.5rem;
    align-items: start;
}

/* Tablet / small desktop: 2-column layout (1100px – 992px) */
@media (max-width: 1099.98px) {
    .emp-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
    .emp-col:last-child {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .emp-dashboard-grid, .emp-col:last-child {
        grid-template-columns: 1fr;
    }
    .emp-col:last-child {
        grid-column: span 1;
    }
    .emp-welcome-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .emp-welcome-date {
        text-align: left;
        width: 100%;
    }
}

/* Modern Cards */
.emp-card {
    background: var(--company-bg-primary, #ffffff);
    border-radius: var(--company-radius-lg, 1rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--company-border-light, #e5e7eb);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    
}

.emp-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.emp-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--company-border-light, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.emp-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--company-text-primary, #111827);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.emp-card-title i {
    color: var(--company-primary-500, #3b82f6);
    background: var(--company-primary-50, #eff6ff);
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.emp-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

/* Work Log Widget */
.work-log-widget {
    text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────
   CIRCULAR PROGRESS RING  –  dynamic via CSS custom properties
   Blazor sets on the element's inline style:
     --work-progress  : arc fill in degrees  (0deg – 360deg)
     --progress-color : fill colour          (hex)
     --progress-glow  : glow rgba            (rgba(…))
   ───────────────────────────────────────────────────────────────────── */
.work-log-timer {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    /* Track ring – light background for the progress arc */
    border: 8px solid var(--company-primary-50, #eff6ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    isolation: isolate;           /* own stacking context for z-index */
}

/* ── Progress arc via conic-gradient (starts at 12-o'clock, fills CW) ── */
.work-log-timer::before {
    content: '';
    position: absolute;
    inset: -8px;                  /* overlaps exactly the 8 px track border */
    border-radius: 50%;
    background: conic-gradient(
        var(--progress-color, #d1d5db) 0deg,
        var(--progress-color, #d1d5db) var(--work-progress, 0deg),
        transparent                   var(--work-progress, 0deg)
    );
    /* Donut mask – keep only the outer ≈9 px ring, hide the inner disc */
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 9px),
        black       calc(100% - 9px)
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 9px),
        black       calc(100% - 9px)
    );
    transition: background 0.55s ease;
    pointer-events: none;
    z-index: 1;
}

/* ── State: idle / not yet checked in ─────────────────────────────── */
.work-log-timer.is-idle::before {
    opacity: 0.35;
}

/* ── State: checked-out – static grey completed arc ──────────────── */
.work-log-timer.checked-out::before {
    background: conic-gradient(
        #9ca3af 0deg,
        #9ca3af var(--work-progress, 0deg),
        #e5e7eb var(--work-progress, 0deg)
    );
    transition: none;
}

/* ── State: overtime – full arc with pulsing glow ────────────────── */
.work-log-timer.is-overtime::before {
    animation: wlt-ring-pulse 2s ease-in-out infinite;
}

/* Colour-blind accessibility: diagonal hatching overlay on overtime ring */
.work-log-timer.is-overtime::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 4px,
        rgba(255, 255, 255, 0.18) 4px,
        rgba(255, 255, 255, 0.18) 6px
    );
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 9px),
        black       calc(100% - 9px)
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 9px),
        black       calc(100% - 9px)
    );
    pointer-events: none;
    z-index: 2;
    animation: wlt-ring-pulse 2s ease-in-out infinite;
}

/* Overtime timer-value text pulse */
.work-log-timer.is-overtime .timer-value {
    animation: wlt-text-pulse 2s ease-in-out infinite;
}

/* Overtime "OT" badge anchored at the bottom of the ring */
.overtime-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 20px;
    border: 2px solid #fff;
    pointer-events: none;
    z-index: 4;
    white-space: nowrap;
}

/* ── Keyframes ────────────────────────────────────────────────────── */
@keyframes wlt-ring-pulse {
    0%,  100% { filter: drop-shadow(0 0 0px   var(--progress-color, #ef4444)); opacity: 1;    }
    50%        { filter: drop-shadow(0 0 10px  var(--progress-color, #ef4444)); opacity: 0.82; }
}

@keyframes wlt-text-pulse {
    0%,  100% { color: var(--company-text-primary, #111827); }
    50%        { color: var(--progress-color, #ef4444);       }
}

.timer-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--company-text-primary, #111827);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.timer-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--company-text-secondary, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-log-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: var(--company-bg-secondary, #f9fafb);
    padding: 1rem;
    border-radius: var(--company-radius-md, 0.75rem);
    border: 1px solid var(--company-border-light, #e5e7eb);
}

.stat-box-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--company-text-tertiary, #9ca3af);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    display: block;
}

.stat-box-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--company-text-primary, #111827);
}

.stat-box-value.text-success { color: var(--company-success-600, #16a34a) !important; }
.stat-box-value.text-danger { color: var(--company-danger-600, #dc2626) !important; }

.btn-punch {
    width: 100%;
    padding: 1rem;
    border-radius: var(--company-radius-md, 0.75rem);
    font-weight: 700;
   /* font-size: 1rem;*/
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-punch-in {
    background: var(--company-primary-600, #2563eb);
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-punch-in:hover:not(:disabled) {
    background: var(--company-primary-700, #1d4ed8);
    transform: translateY(-2px);
}

.btn-punch-out {
    background: var(--company-danger-600, #dc2626);
    color: white;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.2);
}

.btn-punch-out:hover:not(:disabled) {
    background: var(--company-danger-700, #b91c1c);
    transform: translateY(-2px);
}

.btn-punch:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Leave Balance Progress */
.leave-progress-item {
    margin-bottom: 1.25rem;
}

.leave-progress-item:last-child {
    margin-bottom: 0;
}

.leave-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.leave-progress-title {
    font-weight: 600;
    color: var(--company-text-primary, #374151);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leave-progress-stats {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--company-text-secondary, #6b7280);
}

.progress-bar-bg {
    height: 8px;
    background: var(--company-bg-secondary, #f3f4f6);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Feed Items (Announcements, Holidays, etc) */
.feed-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--company-bg-secondary, #f9fafb);
    border-radius: var(--company-radius-md, 0.75rem);
    border: 1px solid var(--company-border-light, #f3f4f6);
    transition: all 0.2s;
    cursor: pointer;
}

.feed-item:hover {
    background: white;
    border-color: var(--company-primary-200, #bfdbfe);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateX(4px);
}

.feed-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feed-icon.primary { background: var(--company-primary-100, #dbeafe); color: var(--company-primary-600, #2563eb); }
.feed-icon.success { background: var(--company-success-100, #dcfce7); color: var(--company-success-600, #16a34a); }
.feed-icon.warning { background: var(--company-warning-100, #fef3c7); color: var(--company-warning-600, #d97706); }
.feed-icon.danger { background: var(--company-danger-100, #fee2e2); color: var(--company-danger-600, #dc2626); }
.feed-icon.info { background: var(--company-info-100, #cff4fc); color: var(--company-info-600, #0891b2); }

.feed-content {
    flex-grow: 1;
    min-width: 0;
}

.feed-title {
    font-weight: 700;
    color: var(--company-text-primary, #111827);
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-desc {
    font-size: 0.85rem;
    color: var(--company-text-secondary, #6b7280);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--company-text-tertiary, #9ca3af);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Calendar Widget */
.modern-calendar {
    background: white;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-month {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--company-text-primary, #111827);
}

.calendar-nav-btn {
    background: var(--company-bg-secondary, #f3f4f6);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--company-text-secondary, #4b5563);
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background: var(--company-primary-100, #dbeafe);
    color: var(--company-primary-600, #2563eb);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    text-align: center;
}

.calendar-day-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--company-text-tertiary, #9ca3af);
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--company-text-primary, #374151);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.calendar-day:hover:not(.muted) {
    background: var(--company-bg-secondary, #f3f4f6);
}

.calendar-day.muted {
    color: var(--company-text-tertiary, #d1d5db);
    cursor: default;
}

.calendar-day.active {
    background: var(--company-primary-600, #2563eb);
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.calendar-day.holiday {
    color: var(--company-danger-600, #dc2626);
    background: var(--company-danger-50, #fef2f2);
}

.calendar-day.holiday::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--company-danger-500, #ef4444);
}

.calendar-day.active.holiday {
    background: var(--company-danger-600, #dc2626);
    color: white;
}

.calendar-day.active.holiday::after {
    background: white;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quick-link-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: var(--company-bg-secondary, #f9fafb);
    border: 1px solid var(--company-border-light, #f3f4f6);
    border-radius: var(--company-radius-md, 0.75rem);
    color: var(--company-text-primary, #374151);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-align: center;
}

.quick-link-btn i {
    font-size: 1.5rem;
    color: var(--company-primary-500, #3b82f6);
    transition: transform 0.2s;
}

.quick-link-btn:hover {
    background: white;
    border-color: var(--company-primary-200, #bfdbfe);
    color: var(--company-primary-700, #1d4ed8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.quick-link-btn:hover i {
    transform: scale(1.1);
}

/* Contact Directory */
.contact-search {
    position: relative;
    margin-bottom: 1rem;
}

.contact-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--company-text-tertiary, #9ca3af);
}

.contact-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--company-border-light, #d1d5db);
    border-radius: var(--company-radius-md, 0.75rem);
    font-size: 0.9rem;
    transition: all 0.2s;
    background: var(--company-bg-secondary, #f9fafb);
}

.contact-search input:focus {
    outline: none;
    border-color: var(--company-primary-400, #60a5fa);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.contact-list::-webkit-scrollbar {
    width: 6px;
}

.contact-list::-webkit-scrollbar-track {
    background: transparent;
}

.contact-list::-webkit-scrollbar-thumb {
    background: var(--company-border-light, #d1d5db);
    border-radius: 10px;
}

.contact-item {
    padding: 1rem;
    border: 1px solid var(--company-border-light, #f3f4f6);
    border-radius: var(--company-radius-md, 0.75rem);
    margin-bottom: 0.75rem;
    background: white;
    transition: all 0.2s;
}

.contact-item:hover {
    border-color: var(--company-primary-200, #bfdbfe);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--company-primary-100, #dbeafe);
    color: var(--company-primary-700, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-info {
    flex-grow: 1;
}

.contact-name {
    font-weight: 700;
    color: var(--company-text-primary, #111827);
    font-size: 0.95rem;
    margin: 0 0 0.15rem 0;
}

.contact-role {
    font-size: 0.8rem;
    color: var(--company-text-secondary, #6b7280);
    margin: 0;
}

.contact-toggle {
    color: var(--company-text-tertiary, #9ca3af);
    transition: transform 0.2s;
}

.contact-item.expanded .contact-toggle {
    transform: rotate(180deg);
}

.contact-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--company-border-light, #e5e7eb);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.contact-detail-row i {
    width: 16px;
    color: var(--company-text-tertiary, #9ca3af);
    text-align: center;
}

.contact-detail-row a {
    color: var(--company-primary-600, #2563eb);
    text-decoration: none;
    font-weight: 500;
}

.contact-detail-row a:hover {
    text-decoration: underline;
}

/* Forms */
.modern-form .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--company-text-secondary, #4b5563);
    margin-bottom: 0.5rem;
    display: block;
}

.modern-form .form-control, .modern-form .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--company-border-light, #d1d5db);
    border-radius: var(--company-radius-md, 0.75rem);
    font-size: 0.9rem;
    transition: all 0.2s;
    background: var(--company-bg-secondary, #f9fafb);
    font-family: inherit;
}

.modern-form .form-control:focus, .modern-form .form-select:focus {
    outline: none;
    border-color: var(--company-primary-400, #60a5fa);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modern-form .btn-submit {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--company-primary-600, #2563eb);
    color: white;
    border: none;
    border-radius: var(--company-radius-md, 0.75rem);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modern-form .btn-submit:hover:not(:disabled) {
    background: var(--company-primary-700, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.modern-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Feedback attachment ───────────────────────────────────────── */
.fb-attach-zone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border: 1.5px dashed var(--company-primary-300, #93c5fd);
    border-radius: var(--company-radius-md, 0.75rem);
    background: var(--company-primary-50, #eff6ff);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    font-size: 0.83rem;
    color: var(--company-text-secondary, #6b7280);
    width: 100%;
    box-sizing: border-box;
}
.fb-attach-zone:hover {
    border-color: var(--company-primary-500, #3b82f6);
    background: var(--company-primary-100, #dbeafe);
}
.fb-file-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--company-primary-200, #bfdbfe);
    border-radius: var(--company-radius-md, 0.75rem);
    background: var(--company-primary-50, #eff6ff);
}
.fb-file-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.fb-file-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--company-text-primary, #374151);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fb-file-size {
    font-size: 0.7rem;
    color: var(--company-text-secondary, #6b7280);
}
.fb-file-remove {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: background 0.15s;
    padding: 0;
}
.fb-file-remove:hover { background: #fecaca; }

/* Empty States */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--company-text-tertiary, #9ca3af);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Celebrations */
.celebration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.celebration-box {
    background: linear-gradient(135deg, var(--company-bg-secondary, #f9fafb) 0%, #ffffff 100%);
    border: 1px solid var(--company-border-light, #e5e7eb);
    border-radius: var(--company-radius-md, 0.75rem);
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.2s;
}

.celebration-box:hover {
    transform: translateY(-2px);
    border-color: var(--company-primary-200, #bfdbfe);
}

.celebration-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.celebration-icon.birthday { color: var(--company-info-500, #06b6d4); }
.celebration-icon.anniversary { color: var(--company-warning-500, #f59e0b); }

.celebration-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--company-text-primary, #111827);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.celebration-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--company-text-secondary, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   FULL-SCREEN DESKTOP OPTIMIZATIONS
   ======================================== */

/* Large screens (1920px – 2559px): balanced wider layout */
@media (min-width: 1920px) {
    .emp-dashboard-wrapper {
        max-width: 1840px;
        margin-left: auto;
        margin-right: auto;
    }

    .emp-dashboard-grid {
        grid-template-columns: 3fr 5fr 3fr;
        gap: 2rem;
    }

    .emp-welcome-banner {
        padding: 1.5rem 2rem;
    }

    .emp-welcome-text h1 {
        font-size: 2.5rem;
    }

    .work-log-timer {
        width: 200px;
        height: 200px;
    }

    .timer-value {
        font-size: 2.75rem;
    }

    .contact-list {
        max-height: 500px;
    }

    .feed-list {
        gap: 1.25rem;
    }
}

/* Ultra-wide screens (2560px+): maximum use of screen real estate */
@media (min-width: 2560px) {
    .emp-dashboard-wrapper {
        max-width: 2400px;
        padding: 2rem;
    }

    .emp-dashboard-grid {
        grid-template-columns: 3fr 5fr 3fr;
        gap: 2.5rem;
    }

    .emp-welcome-text h1 {
        font-size: 3rem;
    }

    .emp-welcome-date .time {
        font-size: 2.25rem;
    }

    .emp-card-title {
        font-size: 1.2rem;
    }

    .contact-list {
        max-height: 600px;
    }

    .work-log-timer {
        width: 220px;
        height: 220px;
    }

    .timer-value {
        font-size: 3rem;
    }
}

/* ========================================
   CELEBRATION MODAL STYLES
   ======================================== */

.celebration-employee-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.celebration-employee-list::-webkit-scrollbar {
    width: 6px;
}

.celebration-employee-list::-webkit-scrollbar-track {
    background: transparent;
}

.celebration-employee-list::-webkit-scrollbar-thumb {
    background: var(--company-border-light, #d1d5db);
    border-radius: 10px;
}

.celebration-employee-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid var(--company-border-light, #e5e7eb);
    border-radius: var(--company-radius-md, 0.75rem);
    background: var(--company-bg-secondary, #f9fafb);
    cursor: pointer;
    transition: all 0.2s;
}

.celebration-employee-item:hover {
    border-color: var(--company-primary-300, #93c5fd);
    background: white;
    transform: translateX(4px);
}

.celebration-employee-item.selected {
    border-color: var(--company-primary-500, #3b82f6);
    background: var(--company-primary-50, #eff6ff);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.celebration-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--company-primary-100, #dbeafe);
    color: var(--company-primary-700, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.celebration-employee-item.selected .celebration-avatar {
    background: var(--company-primary-600, #2563eb);
    color: white;
}

.celebration-emp-name {
    font-weight: 700;
    color: var(--company-text-primary, #111827);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.celebration-emp-info {
    font-size: 0.8rem;
    color: var(--company-text-secondary, #6b7280);
}

.celebration-checkbox {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--company-text-tertiary, #d1d5db);
    flex-shrink: 0;
}

.celebration-employee-item.selected .celebration-checkbox {
    color: var(--company-primary-600, #2563eb);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.template-card {
    padding: 1.25rem;
    border: 2px solid var(--company-border-light, #e5e7eb);
    border-radius: var(--company-radius-md, 0.75rem);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.template-card:hover {
    border-color: var(--company-primary-300, #93c5fd);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.template-card.selected {
    border-color: var(--company-primary-500, #3b82f6);
    background: var(--company-primary-50, #eff6ff);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.15);
}

.template-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.04), transparent 45%);
    pointer-events: none;
}

.template-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.template-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--company-primary-100, #dbeafe);
    border: 1px solid var(--company-primary-200, #bfdbfe);
    flex-shrink: 0;
}

.template-icon {
    font-size: 1.2rem;
    color: var(--company-primary-500, #3b82f6);
    margin-bottom: 0;
}

.template-card.selected .template-icon {
    color: var(--company-primary-700, #1d4ed8);
}

.template-selected-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    color: var(--company-primary-700, #1d4ed8);
    background: var(--company-primary-100, #dbeafe);
    border: 1px solid var(--company-primary-200, #bfdbfe);
}

.template-name {
    font-weight: 700;
    color: var(--company-text-primary, #111827);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.template-preview {
    font-size: 0.78rem;
    color: var(--company-text-secondary, #6b7280);
    line-height: 1.45;
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.delivery-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    border: 2px solid var(--company-border-light, #e5e7eb);
    border-radius: var(--company-radius-md, 0.75rem);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.delivery-option:not(.disabled):hover {
    border-color: var(--company-primary-300, #93c5fd);
    transform: translateY(-2px);
}

.delivery-option.selected {
    border-color: var(--company-primary-500, #3b82f6);
    background: var(--company-primary-50, #eff6ff);
}

.delivery-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.delivery-option i {
    font-size: 1.75rem;
    color: var(--company-primary-500, #3b82f6);
}

.delivery-option.selected i {
    color: var(--company-primary-700, #1d4ed8);
}

.delivery-option span {
    font-weight: 700;
    color: var(--company-text-primary, #111827);
    font-size: 0.9rem;
}

.delivery-option small {
    font-size: 0.7rem;
    color: var(--company-text-secondary, #6b7280);
}

.message-preview {
    border: 2px solid var(--company-primary-200, #bfdbfe);
    border-radius: var(--company-radius-md, 0.75rem);
    background: var(--company-primary-50, #eff6ff);
    overflow: hidden;
    margin-top: 1.5rem;
}

.preview-header {
    padding: 0.75rem 1rem;
    background: var(--company-primary-100, #dbeafe);
    border-bottom: 1px solid var(--company-primary-200, #bfdbfe);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--company-primary-900, #1e3a8a);
}

.preview-body {
    padding: 1.25rem;
    color: var(--company-text-primary, #111827);
    white-space: pre-wrap;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .template-grid,
    .delivery-options {
        grid-template-columns: 1fr;
    }

    .celebration-employee-list {
        max-height: 200px;
    }
}

/* Icon Action Buttons - For Team Pending Leaves */
.icon-action-btn {
    transition: all 0.2s ease;
    transform: scale(1);
}

.icon-action-btn:hover {
    transform: scale(1.3);
    filter: brightness(1.1);
}

.icon-action-btn:active {
    transform: scale(0.95);
}
