.staff-absence-kpi {
    border-radius: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.staff-absence-kpi span {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
}
.staff-absence-kpi strong {
    font-size: 1.7rem;
    color: #0f172a;
    line-height: 1;
}
.staff-absence-kpi small {
    font-weight: 800;
}
.staff-absence-kpi.navy {
    border-left: 6px solid #0f172a;
}
.staff-absence-kpi.success {
    border-left: 6px solid #16a34a;
}
.staff-absence-kpi.danger {
    border-left: 6px solid #dc2626;
}
.staff-absence-kpi.orange {
    border-left: 6px solid #f97316;
}
.staff-absence-doc-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.staff-doc-box {
    width: 136px;
    min-height: 104px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 10px;
    color: #0f172a;
    text-decoration: none;
}
.staff-doc-box i {
    font-size: 28px;
    color: #f97316;
}
.staff-doc-box span {
    font-size: 0.78rem;
    font-weight: 700;
    word-break: break-word;
}
.staff-doc-box small {
    font-size: 0.7rem;
    color: #64748b;
}
.gesnote-action-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    text-decoration: none;
}
.gesnote-action-btn:hover {
    background: #f8fafc;
}
.gesnote-action-btn-danger {
    color: #dc2626;
}
.gesnote-action-btn-danger:hover {
    background: #fee2e2;
}

.staff-absence-kpi-card {
    border-radius: 24px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 120px;
}

.staff-absence-kpi-card .kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.staff-absence-kpi-card span {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.staff-absence-kpi-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-top: 6px;
}

.staff-absence-kpi-card small {
    display: inline-block;
    margin-top: 6px;
    font-weight: 800;
}

.kpi-navy .kpi-icon {
    background: #eaf0ff;
    color: #0f172a;
}

.kpi-success .kpi-icon {
    background: #dcfce7;
    color: #15803d;
}

.kpi-danger .kpi-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.kpi-orange .kpi-icon {
    background: #fff4e6;
    color: #f97316;
}

.staff-absence-dropzone {
    position: relative;
    border: 2px dashed #f97316;
    border-radius: 24px;
    background: #fffaf3;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.staff-absence-dropzone.is-dragover {
    background: #fff4e6;
    border-color: #0f172a;
    transform: scale(1.01);
}

.staff-absence-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.dropzone-content {
    text-align: center;
    color: #0f172a;
    pointer-events: none;
}

.dropzone-content i {
    font-size: 42px;
    color: #f97316;
    display: block;
    margin-bottom: 8px;
}

.dropzone-content strong {
    display: block;
    font-weight: 900;
    font-size: 1rem;
}

.dropzone-content span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 4px;
}

.staff-absence-doc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.staff-doc-box {
    width: 150px;
    min-height: 145px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.staff-doc-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff4e6;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 27px;
}

.staff-doc-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
    line-height: 1.25;
}

.staff-doc-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.staff-doc-actions form {
    margin: 0;
}

.staff-doc-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.staff-doc-btn.danger {
    color: #dc2626;
}

.staff-doc-btn:hover {
    background: #0f172a;
    color: #ffffff;
}

.staff-doc-btn.danger:hover {
    background: #dc2626;
    color: #ffffff;
}

.staff-absence-multicheck {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
    max-height: 170px;
    overflow-y: auto;
}

.staff-absence-check-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 9px 10px;
    border-radius: 14px;
    background: #ffffff;
    margin-bottom: 8px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.staff-absence-check-item:last-child {
    margin-bottom: 0;
}

.staff-absence-check-item input {
    margin-top: 4px;
}

.staff-absence-check-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}
