/* ==========================================================================
   EMPLOYEES DIRECTORY, EDITOR & DELETION PAGES
   ========================================================================== */
.alert{padding:12px 18px;margin-bottom:20px;font-size:11.5px;font-weight:600}
.error-alert{background:#fdf2f1;color:#9b2c2c;border:1px solid #f1cfcc}
.success-alert{background:#eef7f2;color:#22674e;border:1px solid #cce5d7}

/* Standalone Employee Editor Page */
.employee-editor-page, .employee-delete-page{max-width:1440px;margin:0 auto}
.employee-heading-layout{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}
.employee-heading-layout .heading-actions{display:flex;align-items:center;gap:12px;flex:none}
.employee-panel-editor{background:#fff;border:1px solid #dcd3c5;padding:32px 36px;margin-bottom:40px}
.employee-section-block{margin-bottom:34px}

.employee-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.employee-form-grid .form-field-wide{grid-column:1/-1}
.form-field{display:flex;flex-direction:column;gap:7px}
.form-field>span{font-size:11.5px;font-weight:700;color:#282521}
.text-danger{color:#b83232;font-weight:700;margin-inline-start:3px}
.field-hint{font-size:10.5px;color:#766f67;margin-top:3px;line-height:1.4}

.employee-form-grid input, .employee-form-grid select, .employee-form-grid textarea{
    width:100%;height:44px;border:1px solid #cfc3b5!important;border-radius:0!important;background:#fbf8f3!important;padding:0 14px;color:#282521;font-size:13px;outline:0;transition:all .15s
}
.employee-form-grid input:focus, .employee-form-grid select:focus, .employee-form-grid textarea:focus{
    border-color:#806044!important;box-shadow:0 0 0 2px rgba(128,96,68,.12)!important;background:#fff!important
}
.employee-form-grid select:disabled{background:#eee7dc!important;color:#877f76!important;cursor:not-allowed}

/* Document Upload Grid */
.document-upload-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:14px}
.document-upload-card{background:#fdfcf9;border:1px solid #ded5c7;padding:18px 20px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;transition:all .15s}
.document-upload-card:hover{border-color:#8a6848;background:#faf6f0}
.document-upload-card.has-file{background:#faf5ed;border-color:#8a6848}
.upload-card-header{display:flex;align-items:flex-start;gap:12px}
.upload-icon{font-size:22px;flex:none}
.upload-card-header strong{display:block;font-size:12.5px;color:#282521;margin-bottom:3px}
.upload-card-header small{display:block;font-size:10.5px;color:#766f67;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}
.document-upload-card.has-file .upload-card-header small{color:#8a6848;font-weight:700}

.upload-btn-label{display:inline-flex;align-items:center;justify-content:center;background:#f4eee5;border:1px solid #dcd0bf;color:#685644;font-size:11px;font-weight:750;padding:8px 14px;cursor:pointer;position:relative;transition:all .15s;text-align:center}
.upload-btn-label:hover{background:#282521;color:#fff;border-color:#282521}
.upload-btn-label input[type="file"]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}

.employee-footer-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:32px;padding-top:22px;border-top:1px solid #eee6db}

/* Delete Confirmation Page */
.delete-confirmation-panel{background:#fff;border:1px solid #dcd3c5;padding:36px;margin-bottom:40px}
.delete-warning-banner{display:flex;align-items:flex-start;gap:16px;background:#fdf3e8;border:1px solid #f2d2b1;padding:18px 22px;margin-bottom:28px}
.warning-symbol{font-size:24px;color:#b45309;flex:none}
.delete-warning-banner strong{display:block;font-size:13.5px;color:#92400e;margin-bottom:3px}
.delete-warning-banner p{margin:0;font-size:11.5px;color:#78350f;line-height:1.5}

.delete-employee-summary{border:1px solid #ded5c7;background:#faf7f1;padding:24px 28px;margin-bottom:28px}
.delete-person-hero{display:flex;align-items:center;gap:18px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid #e8e0d3}
.large-avatar{width:56px;height:56px;font-size:16px;font-weight:800;background:#282521;color:#d0aa83;border-radius:50%;display:grid;place-items:center}
.delete-person-hero h2{margin:0 0 4px;font-size:20px;color:#282521}
.delete-subtitle{margin:0;font-size:12px;color:#766f67}
.delete-data-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.delete-data-item{display:flex;flex-direction:column;gap:3px}
.delete-data-item span{font-size:10px;color:#766f67;text-transform:uppercase;letter-spacing:.05em}
.delete-data-item strong{font-size:13px;color:#282521}

.delete-impact-box{background:#fdfcf9;border:1px solid #ded5c7;padding:20px 24px;margin-bottom:28px}
.delete-impact-box h4{margin:0 0 10px;font-size:13px;color:#282521}
.delete-impact-box ul{margin:0;padding-inline-start:20px;color:#766f67;font-size:11.5px;display:flex;flex-direction:column;gap:6px}

.danger-button{border:0;background:#b83232;color:#fff;padding:12px 24px;font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .15s}
.danger-button:hover{background:#992222}
.danger-button:disabled{opacity:.6;cursor:not-allowed}

.delete-actions-bar{display:flex;justify-content:flex-end;align-items:center;gap:14px}

/* Menu Dropdown Enhancements */
.menu-divider{height:1px;background:#ede7de;margin:4px 0}
.menu-item-danger{color:#b83232!important}
.menu-item-danger:hover{background:#fdf2f1!important;color:#992222!important}

@media(max-width:960px){
    .employee-form-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
    .employee-panel-editor, .delete-confirmation-panel{padding:20px 16px}
    .employee-heading-layout{flex-direction:column;align-items:stretch}
    .employee-footer-actions, .delete-actions-bar{flex-direction:column-reverse;align-items:stretch}
    .employee-footer-actions .primary-button, .employee-footer-actions .soft-button,
    .delete-actions-bar .danger-button, .delete-actions-bar .soft-button{text-align:center;justify-content:center;width:100%}
}
