/* --- Employees Module Styles --- */


.employees-shell {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.employees-hero, .form-panel, .list-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(50px) saturate(210%);
    border-radius: 40px;
    border: 1px solid var(--panel-border);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.employees-hero {
    padding: 40px 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.eyebrow {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(195, 0, 47, 0.1);
    border: 1px solid rgba(195, 0, 47, 0.3);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff, #ffcbd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    max-width: 700px;
}

.hero-side {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.mini-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 20px 26px;
    min-width: 194px;
}

.mini-stat span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.mini-stat strong {
    font-size: 32px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero-link {
    min-width: 210px;
    min-height: 70px;
    padding: 16px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), #7a001f);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(195, 0, 47, 0.3);
}

.hero-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(195, 0, 47, 0.5);
    filter: brightness(1.1);
}

.form-panel, .list-panel {
    padding: 40px;
}

.panel-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.field {
    display: grid;
    gap: 14px;
}

.field span {
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

.field input {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 18px 24px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.4s ease;
}

.field input:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 40px rgba(195, 0, 47, 0.15);
}

.primary-btn {
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--accent), #7a001f);
    color: #fff;
    border: none;
    border-radius: 20px;
    margin-top: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px rgba(195, 0, 47, 0.3);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(195, 0, 47, 0.5);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.form-actions .primary-btn {
    margin-top: 0;
}

.secondary-btn {
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(195, 0, 47, 0.5);
    background: rgba(195, 0, 47, 0.08);
    box-shadow: 0 16px 30px rgba(195, 0, 47, 0.16);
}

.secondary-btn[hidden] {
    display: none !important;
}

.list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.search-box i {
    position: absolute;
    left: 20px;
    color: var(--muted);
    font-size: 13px;
    pointer-events: none;
}

.search-box input {
    height: 52px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0 20px 0 50px;
    color: #fff;
    width: 320px;
    outline: none;
    transition: all 0.4s ease;
    font-size: 14px;
    font-family: inherit;
}

.search-box input:focus {
    border-color: var(--accent-red);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 40px rgba(195, 0, 47, 0.2);
}

.employees-list-wrap {
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

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

.employees-table th, .employees-table td {
    padding: 22px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.employees-table th {
    background: rgba(255, 255, 255, 0.02);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.employee-name-cell {
    font-weight: 800;
    color: #fff;
}

.employees-table tbody tr.row-hidden {
    display: none;
}

.table-action-btn {
    padding: 10px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-action-btn:hover {
    border-color: var(--accent);
    background: rgba(195, 0, 47, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .employees-hero {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .hero-side {
        justify-content: flex-start;
    }

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

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .employees-hero { padding: 30px; }
    .hero-copy h1 { font-size: 36px; }

    .hero-side,
    .list-head {
        flex-wrap: wrap;
    }

    .hero-link,
    .mini-stat,
    .search-box,
    .search-box input {
        width: 100%;
        min-width: 0;
    }
}
