/* =========================================================
   직원관리 공통
========================================================= */

.employee-page {
    width: 100%;
}

.employee-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================================
   페이지 헤더
========================================================= */

.employee-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 86px;
    margin-bottom: 24px;
}

.employee-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.employee-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 12px;

    background: #eff6ff;

    font-size: 23px;
}

.employee-header h1 {
    margin: 0;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.3;

    color: #111827;
}

.employee-header p {
    margin: 5px 0 0;

    font-size: 14px;

    color: #6b7280;
}


/* =========================================================
   공통 버튼
========================================================= */

.employee-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 42px;

    padding: 0 18px;

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.1s ease;
}

.employee-button:active {
    transform: translateY(1px);
}

.employee-button-primary {
    background: #2563eb;
    color: #ffffff;

    box-shadow:
        0 2px 5px rgba(37, 99, 235, 0.18);
}

.employee-button-primary:hover {
    background: #1d4ed8;
}

.employee-button-secondary {
    background: #ffffff;

    border: 1px solid #d1d5db;

    color: #374151;
}

.employee-button-secondary:hover {
    background: #f9fafb;

    border-color: #9ca3af;
}


/* =========================================================
   직원 목록 - 검색
========================================================= */

.employee-search-card {
    padding: 22px 24px;
    margin-bottom: 24px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03);
}

.employee-search-title {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}

.employee-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 8px;

    background: #f3f4f6;

    font-size: 16px;
}

.employee-search-title strong {
    display: block;

    font-size: 15px;
    font-weight: 700;

    color: #1f2937;
}

.employee-search-title span {
    display: block;

    margin-top: 3px;

    font-size: 12px;

    color: #9ca3af;
}

.employee-search-form {
    display: flex;
    align-items: flex-end;

    gap: 12px;
}

.employee-search-field {
    display: flex;
    flex-direction: column;

    gap: 7px;

    min-width: 150px;
}

.employee-search-keyword {
    flex: 1;
}

.employee-search-field label {
    font-size: 12px;
    font-weight: 600;

    color: #4b5563;
}

.employee-search-field input,
.employee-search-field select {
    width: 100%;
    height: 40px;

    padding: 0 12px;

    border: 1px solid #d1d5db;
    border-radius: 7px;

    background: #ffffff;

    font-family: inherit;
    font-size: 13px;

    color: #1f2937;

    outline: none;
}

.employee-search-field input:focus,
.employee-search-field select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}

.employee-button-search {
    min-width: 88px;

    background: #374151;

    color: #ffffff;
}

.employee-button-search:hover {
    background: #1f2937;
}


/* =========================================================
   직원 목록
========================================================= */

.employee-list-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03);
}

.employee-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 24px;

    border-bottom: 1px solid #e5e7eb;
}

.employee-list-header h2 {
    margin: 0;

    font-size: 17px;
    font-weight: 700;

    color: #111827;
}

.employee-list-header p {
    margin: 5px 0 0;

    font-size: 12px;

    color: #9ca3af;
}

.employee-count {
    display: flex;
    align-items: baseline;

    gap: 3px;

    font-size: 12px;

    color: #6b7280;
}

.employee-count strong {
    font-size: 18px;

    color: #2563eb;
}

.employee-table-wrapper {
    width: 100%;

    overflow-x: auto;
}

.employee-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;
}

.employee-table th,
.employee-table td {
    height: 50px;

    padding: 12px 14px;

    border-bottom: 1px solid #f0f1f3;

    font-size: 13px;

    text-align: center;
    vertical-align: middle;
}

.employee-table th {
    background: #f8f9fb;

    font-weight: 600;

    color: #4b5563;
}

.employee-table td {
    color: #374151;
}

.employee-table tbody tr:last-child td {
    border-bottom: 0;
}

.employee-col-number {
    width: 120px;
}

.employee-col-name {
    width: 120px;
}

.employee-col-contact {
    width: 170px;
}


/* =========================================================
   직원 없음
========================================================= */

.employee-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 280px;

    padding: 40px 20px;

    text-align: center;
}

.employee-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin-bottom: 16px;

    border-radius: 50%;

    background: #f3f4f6;

    font-size: 28px;
}

.employee-empty strong {
    font-size: 15px;
    font-weight: 600;

    color: #374151;
}

.employee-empty span {
    margin-top: 6px;

    font-size: 13px;

    color: #9ca3af;
}

.employee-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;

    margin-top: 18px;
    padding: 0 15px;

    border: 1px solid #d1d5db;
    border-radius: 7px;

    background: #ffffff;

    font-size: 12px;
    font-weight: 600;

    color: #374151;

    text-decoration: none;
}

.employee-empty-button:hover {
    background: #f9fafb;
}


/* =========================================================
   직원 등록
========================================================= */

.employee-create-container {
    max-width: 1180px;
}

.employee-create-header {
    margin-bottom: 22px;
}


/* =========================================================
   등록 카드
========================================================= */

.employee-form-card {
    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.025);
}

.employee-form-header {
    display: flex;
    align-items: center;

    min-height: 76px;

    padding: 0 24px;

    border-bottom: 1px solid #e5e7eb;
}

.employee-form-title {
    display: flex;
    align-items: center;

    gap: 12px;
}

.employee-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 9px;

    background: #f3f4f6;

    font-size: 17px;
}

.employee-form-title h2 {
    margin: 0;

    font-size: 16px;
    font-weight: 700;

    color: #111827;
}

.employee-form-title p {
    margin: 4px 0 0;

    font-size: 12px;

    color: #9ca3af;
}

.employee-form-body {
    padding: 24px;
}


/* =========================================================
   입력 그리드
========================================================= */

.employee-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 24px;
    row-gap: 20px;
}

.employee-field {
    min-width: 0;
}

.employee-field-full {
    grid-column: 1 / -1;
}

.employee-field>label,
.employee-section-label-row>label {
    display: block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 600;

    color: #374151;
}

.required {
    margin-left: 2px;

    color: #2563eb;
}


/* =========================================================
   입력 컨트롤
========================================================= */

.employee-field input,
.employee-field select,
.employee-field textarea {
    width: 100%;

    border: 1px solid #d1d5db;
    border-radius: 7px;

    background: #ffffff;

    font-family: inherit;
    font-size: 13px;

    color: #1f2937;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.employee-field input,
.employee-field select {
    height: 42px;

    padding: 0 12px;
}

.employee-field textarea {
    min-height: 110px;

    padding: 12px;

    resize: vertical;

    line-height: 1.6;
}

.employee-field input::placeholder,
.employee-field textarea::placeholder {
    color: #b0b5bd;
}

.employee-field input:focus,
.employee-field select:focus,
.employee-field textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}

.employee-field input.is-readonly {
    background: #f8f9fb;

    color: #9ca3af;

    cursor: default;
}


/* =========================================================
   필드 도움말
========================================================= */

.employee-help {
    display: block;

    margin-top: 6px;

    font-size: 11px;

    color: #9ca3af;
}

.employee-field-description {
    margin: -2px 0 12px;

    font-size: 11px;

    color: #9ca3af;
}

.employee-section-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.employee-section-label-row>label {
    margin-bottom: 0;
}

.employee-label-info {
    display: inline-flex;
    align-items: center;

    height: 23px;

    padding: 0 8px;

    border-radius: 5px;

    background: #eff6ff;

    font-size: 10px;
    font-weight: 600;

    color: #2563eb;
}


/* =========================================================
   숫자 + 단위
========================================================= */

.employee-input-unit {
    position: relative;
}

.employee-input-unit input {
    padding-right: 42px;
}

.employee-input-unit span {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 12px;

    color: #6b7280;

    pointer-events: none;
}


/* =========================================================
   요일별 근무시간
========================================================= */

.employee-weekly-schedule {
    width: 100%;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    overflow: hidden;
}

.employee-weekly-header,
.employee-weekly-row {
    display: grid;

    grid-template-columns:
        90px 80px minmax(120px, 1fr) minmax(120px, 1fr);

    align-items: center;
}

.employee-weekly-header {
    height: 42px;

    background: #f8f9fb;

    border-bottom: 1px solid #e5e7eb;

    font-size: 11px;
    font-weight: 600;

    color: #6b7280;

    text-align: center;
}

.employee-weekly-row {
    min-height: 56px;

    border-bottom: 1px solid #f0f1f3;

    background: #ffffff;
}

.employee-weekly-row:last-child {
    border-bottom: 0;
}

.employee-weekly-row>div {
    padding: 7px 12px;

    text-align: center;
}

.employee-weekday {
    font-size: 13px;
    font-weight: 600;

    color: #374151;
}

.employee-weekly-row:nth-child(7) .employee-weekday,
.employee-weekly-row:nth-child(8) .employee-weekday {
    color: #2563eb;
}


/* =========================================================
   요일 스위치
========================================================= */

.employee-weekly-toggle {
    display: flex;

    align-items: center;
    justify-content: center;
}

.employee-toggle {
    position: relative;

    display: inline-block;

    width: 36px;
    height: 20px;

    cursor: pointer;
}

.employee-toggle input {
    position: absolute;

    width: 0;
    height: 0;

    opacity: 0;
}

.employee-toggle span {
    position: absolute;

    inset: 0;

    border-radius: 999px;

    background: #d1d5db;

    transition:
        background-color 0.18s ease;
}

.employee-toggle span::before {
    content: "";

    position: absolute;

    width: 16px;
    height: 16px;

    left: 2px;
    top: 2px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.18s ease;
}

.employee-toggle input:checked+span {
    background: #2563eb;
}

.employee-toggle input:checked+span::before {
    transform: translateX(16px);
}


/* =========================================================
   시간 입력
========================================================= */

.employee-time {
    height: 36px !important;

    padding: 0 9px !important;

    text-align: center;

    font-size: 12px !important;
}


/* =========================================================
   안내 박스
========================================================= */

.employee-info-box {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    margin-top: 10px;
    padding: 10px 12px;

    border-radius: 7px;

    background: #f8fafc;

    font-size: 11px;
    line-height: 1.55;

    color: #6b7280;
}


/* =========================================================
   4대보험
========================================================= */

.employee-insurance-list {
    border: 1px solid #e5e7eb;

    border-radius: 8px;

    overflow: hidden;
}

.employee-insurance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 68px;

    padding: 10px 16px;

    border-bottom: 1px solid #f0f1f3;
}

.employee-insurance-row:last-child {
    border-bottom: 0;
}

.employee-insurance-info {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.employee-insurance-info strong {
    font-size: 13px;

    color: #374151;
}

.employee-insurance-info span {
    font-size: 11px;

    color: #9ca3af;
}

.employee-radio-group {
    display: flex;
    align-items: center;

    gap: 16px;
}

.employee-radio-group label {
    display: flex;
    align-items: center;

    gap: 6px;

    font-size: 12px;

    color: #4b5563;

    cursor: pointer;
}

.employee-radio-group input {
    width: 15px !important;
    height: 15px !important;

    margin: 0;

    accent-color: #2563eb;

    cursor: pointer;
}


/* =========================================================
   서류
========================================================= */

.employee-document-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.employee-check-item {
    display: flex;
    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding: 0 12px;

    border: 1px solid #e5e7eb;
    border-radius: 7px;

    background: #ffffff;

    font-size: 12px;

    color: #4b5563;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.employee-check-item:hover {
    background: #f9fafb;

    border-color: #d1d5db;
}

.employee-check-item input {
    width: 15px !important;
    height: 15px !important;

    margin: 0;

    accent-color: #2563eb;
}


/* =========================================================
   하단 버튼
========================================================= */

.employee-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    padding: 6px 0 30px;
}

.employee-button-cancel {
    min-width: 88px;

    background: #ffffff;

    border: 1px solid #d1d5db;

    color: #4b5563;
}

.employee-button-cancel:hover {
    background: #f9fafb;

    border-color: #9ca3af;
}

.employee-submit-button {
    min-width: 110px;
}


/* =========================================================
   반응형
========================================================= */

@media (max-width: 1100px) {

    .employee-container {
        max-width: 100%;
    }

    .employee-document-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .employee-search-form {
        flex-wrap: wrap;
    }

    .employee-search-keyword {
        flex: 1 1 100%;
    }

    .employee-search-field:not(.employee-search-keyword) {
        flex: 1;
    }

    .employee-form-grid {
        grid-template-columns: 1fr;
    }

    .employee-field-full {
        grid-column: auto;
    }

}


@media (max-width: 700px) {

    .employee-header {
        flex-direction: column;
        align-items: stretch;

        gap: 16px;
    }

    .employee-header-content {
        justify-content: center;

        text-align: center;
    }

    .employee-header .employee-button {
        width: 100%;
    }


    .employee-search-card {
        padding: 18px;
    }

    .employee-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .employee-search-field,
    .employee-search-keyword {
        width: 100%;
    }

    .employee-button-search {
        width: 100%;
    }


    .employee-form-header {
        min-height: 70px;

        padding: 0 18px;
    }

    .employee-form-body {
        padding: 18px;
    }


    .employee-weekly-schedule {
        overflow-x: auto;
    }

    .employee-weekly-header,
    .employee-weekly-row {
        min-width: 520px;
    }


    .employee-insurance-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .employee-radio-group {
        width: 100%;
    }


    .employee-document-grid {
        grid-template-columns: 1fr;
    }


    .employee-form-actions {
        padding-bottom: 20px;
    }

}


@media (max-width: 480px) {

    .employee-header h1 {
        font-size: 23px;
    }

    .employee-header p {
        font-size: 13px;
    }

    .employee-form-title h2 {
        font-size: 15px;
    }

    .employee-form-title p {
        font-size: 11px;
    }

    .employee-form-icon {
        width: 34px;
        height: 34px;

        font-size: 15px;
    }

    .employee-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .employee-form-actions .employee-button {
        width: 100%;
    }

}

/* Employee detail */
.employee-detail-page .employee-container { max-width: 1180px; }
.employee-detail-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:28px 32px; margin-bottom:18px; border:1px solid #e5eaf0; border-radius:18px; background:linear-gradient(135deg,#fff 0%,#f4f8ff 100%); box-shadow:0 8px 24px rgba(24,49,83,.05); }
.employee-detail-identity { display:flex; align-items:center; gap:18px; }
.employee-detail-avatar { display:grid; place-items:center; width:64px; height:64px; border-radius:18px; background:#e9f1ff; font-size:30px; }
.employee-detail-eyebrow { margin-bottom:4px; color:#738197; font-size:12px; font-weight:700; letter-spacing:.04em; }
.employee-detail-hero h1 { margin:0; color:#172338; font-size:28px; }
.employee-detail-subtitle { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:9px; color:#65748a; font-size:13px; }
.employee-status-pill { display:inline-flex; align-items:center; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700; }
.employee-status-pill.is-active { color:#087443; background:#e5f7ee; }
.employee-status-pill.is-inactive { color:#667085; background:#eef1f5; }
.employee-detail-actions { display:flex; gap:8px; }
.employee-detail-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.employee-detail-stat { padding:18px 20px; border:1px solid #e5eaf0; border-radius:14px; background:#fff; }
.employee-detail-stat span { display:block; margin-bottom:8px; color:#718096; font-size:12px; }
.employee-detail-stat strong { color:#172338; font-size:20px; }
.employee-detail-stat small { color:#718096; font-size:12px; font-weight:500; }
.employee-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.employee-detail-card { min-width:0; padding:22px 24px; border:1px solid #e5eaf0; border-radius:16px; background:#fff; box-shadow:0 5px 18px rgba(24,49,83,.035); }
.employee-detail-card-wide { grid-column:1 / -1; }
.employee-detail-card-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.employee-detail-card-heading>span { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#f0f5ff; font-size:19px; }
.employee-detail-card-heading h2 { margin:0; color:#1d2939; font-size:17px; }
.employee-detail-card-heading p { margin:4px 0 0; color:#8994a5; font-size:12px; }
.employee-detail-list { margin:0; }
.employee-detail-list>div { display:grid; grid-template-columns:minmax(110px, .7fr) minmax(0,1.3fr); gap:14px; padding:11px 0; border-bottom:1px solid #eff2f6; }
.employee-detail-list>div:last-child { border-bottom:0; }
.employee-detail-list dt { color:#78869a; font-size:13px; }
.employee-detail-list dd { min-width:0; margin:0; color:#263449; font-size:13px; font-weight:600; overflow-wrap:anywhere; }
.employee-schedule-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px; }
.employee-schedule-day { display:flex; flex-direction:column; gap:10px; min-height:86px; padding:14px 12px; border:1px solid #e8edf3; border-radius:12px; background:#f8fafc; }
.employee-schedule-day.is-working { border-color:#d9e7ff; background:#f4f8ff; }
.employee-schedule-day-name { color:#65748a; font-size:12px; }
.employee-schedule-day strong { color:#233753; font-size:14px; white-space:nowrap; }
.employee-schedule-day strong small { color:#8a5a00; font-size:10px; }
.employee-schedule-day .employee-day-off { color:#a0a8b5; font-weight:500; }
.employee-detail-badges { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.employee-detail-badge { display:flex; align-items:center; gap:8px; min-width:0; padding:10px 11px; border-radius:10px; font-size:12px; }
.employee-detail-badge i { width:7px; height:7px; border-radius:50%; background:#98a2b3; }
.employee-detail-badge b { margin-left:auto; font-size:11px; white-space:nowrap; }
.employee-detail-badge.is-on { color:#176b48; background:#eefaf3; }
.employee-detail-badge.is-on i { background:#22a06b; }
.employee-detail-badge.is-off { color:#667085; background:#f4f5f7; }
.employee-document-badges { margin-top:16px; }
.employee-detail-note { margin:0; color:#475467; font-size:13px; line-height:1.7; white-space:pre-wrap; }
.employee-detail-updated { margin:16px 2px 0; color:#98a2b3; font-size:11px; text-align:right; }
.employee-schedule-history-list article { display:grid; grid-template-columns:120px minmax(0,1fr); gap:14px; padding:13px 0; border-top:1px solid #eff2f6; }
.employee-schedule-history-list article:first-child { border-top:0; }
.employee-schedule-history-list time { color:#526b91; font-size:12px; font-weight:700; }
.employee-schedule-history-list p { margin:0; color:#536176; font-size:12px; line-height:1.7; }
.employee-detail-empty { padding:56px 24px; text-align:center; }
@media(max-width:900px) { .employee-detail-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .employee-schedule-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:600px) { .employee-detail-hero { align-items:flex-start; flex-direction:column; padding:22px; } .employee-detail-hero h1 { font-size:23px; } .employee-detail-stats { gap:8px; } .employee-detail-stat { padding:14px; } .employee-detail-stat strong { font-size:17px; } .employee-detail-grid { grid-template-columns:1fr; } .employee-detail-card-wide { grid-column:auto; } .employee-detail-card { padding:18px; } .employee-schedule-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .employee-detail-list>div { grid-template-columns:105px minmax(0,1fr); } .employee-schedule-history-list article { grid-template-columns:1fr; gap:5px; } }

/* Employee directory */
.employee-index-page .employee-container { max-width:1240px; }
.employee-index-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:30px 32px; margin-bottom:18px; border:1px solid #e4eaf2; border-radius:18px; background:linear-gradient(120deg,#fff 20%,#f1f6ff 100%); box-shadow:0 8px 24px rgba(24,49,83,.045); }
.employee-index-title { display:flex; align-items:center; gap:17px; }
.employee-index-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:17px; background:#e7efff; font-size:27px; }
.employee-index-eyebrow { margin-bottom:4px; color:#738197; font-size:12px; font-weight:700; letter-spacing:.04em; }
.employee-index-hero h1 { margin:0; color:#172338; font-size:27px; }
.employee-index-hero p { margin:6px 0 0; color:#718096; font-size:13px; }
.employee-index-hero .employee-button { display:inline-flex; align-items:center; gap:7px; }
.employee-index-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.employee-index-stat { display:flex; align-items:center; gap:13px; padding:17px 19px; border:1px solid #e7ebf1; border-radius:14px; background:#fff; }
.employee-index-stat-icon { display:grid; place-items:center; flex:none; width:40px; height:40px; border-radius:12px; color:#3768c5; background:#edf3ff; font-size:18px; font-weight:800; }
.employee-index-stat-icon.is-green { color:#168052; background:#e9f8f0; }
.employee-index-stat-icon.is-purple { color:#7754bd; background:#f2edff; }
.employee-index-stat-icon.is-orange { color:#b96a18; background:#fff3e5; }
.employee-index-stat div>span { display:block; margin-bottom:5px; color:#7d8999; font-size:11px; }
.employee-index-stat strong { color:#1c2a3d; font-size:21px; }
.employee-index-stat strong small { margin-left:4px; color:#8994a5; font-size:11px; font-weight:500; }
.employee-index-panel { overflow:hidden; border:1px solid #e5eaf0; border-radius:16px; background:#fff; box-shadow:0 6px 20px rgba(24,49,83,.035); }
.employee-index-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:23px 25px 16px; }
.employee-index-panel-heading h2 { margin:0; color:#1d2939; font-size:18px; }
.employee-index-panel-heading p { margin:5px 0 0; color:#8792a3; font-size:12px; }
.employee-index-result { padding:7px 11px; border-radius:9px; color:#66758b; background:#f4f6f9; font-size:12px; white-space:nowrap; }
.employee-index-result strong { color:#253b5d; }
.employee-index-filters { display:flex; align-items:center; gap:9px; padding:0 25px 18px; }
.employee-index-search { display:flex; align-items:center; gap:9px; flex:1; min-width:180px; height:42px; padding:0 12px; border:1px solid #dfe5ec; border-radius:9px; color:#8a96a7; background:#fff; }
.employee-index-search:focus-within { border-color:#83a8ee; box-shadow:0 0 0 3px rgba(67,119,214,.1); }
.employee-index-search>span { font-size:22px; line-height:1; }
.employee-index-search input { width:100%; border:0; outline:0; color:#263449; background:transparent; font:inherit; font-size:13px; }
.employee-index-search input::placeholder { color:#a1aab7; }
.employee-index-select select { height:42px; min-width:136px; padding:0 30px 0 11px; border:1px solid #dfe5ec; border-radius:9px; color:#455369; background:#fff; font:inherit; font-size:12px; }
.employee-index-filters .employee-button { min-height:42px; padding:0 19px; }
.employee-index-reset { padding:8px 2px; color:#69788c; font-size:12px; text-decoration:none; white-space:nowrap; }
.employee-index-reset:hover { color:#245bb7; }
.employee-index-table-wrap { overflow-x:auto; border-top:1px solid #edf0f4; }
.employee-index-table { width:100%; min-width:760px; border-collapse:collapse; text-align:left; }
.employee-index-table th,.employee-index-table td { text-align:center; }
.employee-index-table { min-width:980px; }
.employee-index-table th:last-child,.employee-index-table td:last-child { text-align:center; }
.employee-index-table th { padding:12px 15px; color:#8792a3; background:#fafbfd; font-size:11px; font-weight:600; white-space:nowrap; }
.employee-index-table th:first-child,.employee-index-table td:first-child { padding-left:25px; }
.employee-index-table th:last-child,.employee-index-table td:last-child { padding-right:22px; text-align:right; }
.employee-index-table td { height:64px; padding:9px 15px; border-top:1px solid #f0f2f5; color:#536176; font-size:12px; white-space:nowrap; }
.employee-index-table tbody tr { transition:background .15s ease; }
.employee-index-table tbody tr:hover { background:#f8faff; }
.employee-index-person { display:inline-flex; align-items:center; gap:10px; color:#23334b; text-decoration:none; }
.employee-index-person strong { font-size:13px; }
.employee-index-avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#315eac; background:#eaf1ff; font-size:13px; font-weight:700; }
.employee-index-number { color:#66758b; text-decoration:none; }
.employee-index-person:hover strong,.employee-index-number:hover { color:#245bb7; }
.employee-index-type { display:inline-block; padding:5px 8px; border-radius:7px; color:#5a6680; background:#f2f4f7; font-size:11px; }
.employee-index-status { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px; font-size:11px; font-weight:600; }
.employee-index-status i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.employee-index-status.is-active { color:#17794f; background:#e9f8f0; }
.employee-index-status.is-inactive { color:#717d8f; background:#f0f2f5; }
.employee-index-row-link { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:8px; color:#7b899d; background:#f4f6f9; font-size:22px; line-height:1; text-decoration:none; }
.employee-index-row-link:hover { color:#245bb7; background:#eaf1ff; }
.employee-index-actions { white-space:nowrap; }
.employee-index-actions form { display:inline; }
.employee-index-actions button,.employee-index-action-view { display:inline-block; margin:2px; padding:6px 8px; border:0; border-radius:7px; color:#44536a; background:#f1f4f8; font:inherit; font-size:11px; text-decoration:none; cursor:pointer; }
.employee-index-actions button:hover,.employee-index-action-view:hover { background:#e7edf5; }
.employee-index-actions .employee-index-action-retire { color:#8a5c00; background:#fff4dc; }
.employee-index-actions .employee-index-action-retire:hover { background:#ffebbd; }
.employee-index-actions .employee-index-action-delete { color:#b42318; background:#fff0ee; }
.employee-index-actions .employee-index-action-delete:hover { background:#ffded9; }
.employee-action-notice { padding:12px 24px; border-bottom:1px solid #edf0f4; font-size:12px; }
.employee-action-notice.is-success { color:#176b48; background:#eefaf3; }
.employee-action-notice.is-error { color:#a33b36; background:#fff0ee; }
.employee-index-empty { display:flex; align-items:center; flex-direction:column; padding:54px 20px 60px; border-top:1px solid #edf0f4; text-align:center; }
.employee-index-empty-icon { display:grid; place-items:center; width:54px; height:54px; margin-bottom:14px; border-radius:17px; color:#5478b8; background:#eff4fc; font-size:28px; }
.employee-index-empty h3 { margin:0; color:#29384d; font-size:16px; }
.employee-index-empty p { max-width:420px; margin:8px 0 18px; color:#8490a1; font-size:12px; line-height:1.6; }
.employee-index-empty .employee-button { text-decoration:none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:850px) { .employee-index-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .employee-index-filters { flex-wrap:wrap; } .employee-index-search { flex-basis:100%; } .employee-index-select { flex:1; } .employee-index-select select { width:100%; } }
@media(max-width:560px) { .employee-index-hero { align-items:flex-start; flex-direction:column; padding:22px; } .employee-index-hero .employee-button { width:100%; justify-content:center; } .employee-index-stats { gap:8px; } .employee-index-stat { gap:9px; padding:13px 10px; } .employee-index-stat-icon { width:34px; height:34px; } .employee-index-stat strong { font-size:18px; } .employee-index-panel-heading { align-items:flex-start; padding:20px 17px 14px; } .employee-index-filters { padding:0 17px 15px; } .employee-index-select { flex-basis:calc(50% - 5px); } .employee-index-filters .employee-button { flex:1; } .employee-index-reset { padding:10px; } }
.employee-weekly-header,.employee-weekly-row { grid-template-columns:58px 56px minmax(105px,1fr) minmax(105px,1fr) 88px 125px; min-width:690px; }
.employee-break-minutes { width:100%; height:36px; padding:0 5px; border:1px solid #dfe5ec; border-radius:7px; color:#344054; text-align:center; font-size:12px; }
.employee-break-policy { width:100%; height:36px; padding:0 5px; border:1px solid #dfe5ec; border-radius:7px; color:#344054; background:#fff; font-size:11px; }
.employee-weekly-header { grid-template-columns:58px 56px minmax(105px,1fr) minmax(105px,1fr) 88px 125px; }
