/* Redigera lån header — black text */

.loan-edit-header .header-title,
.loan-edit-header h1,
.edit-header .header-title,
.books-header .header-title,
.loan-details-header .header-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.loan-edit-header .text-muted,
.loan-edit-header p,
.edit-header .text-muted,
.edit-header p.fs-5 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

/* Meta pills under title */
.loan-edit-header .stat-item,
.loan-edit-header .info-badge,
.loan-edit-header .quick-stats .stat-item,
.edit-header .stat-item,
.edit-header .info-badge,
.edit-header .quick-info span {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 600 !important;
}

.loan-edit-header .stat-item i,
.edit-header .stat-item i,
.edit-header .info-badge i {
    color: #2563eb !important;
}

.loan-edit-header .stat-label,
.loan-edit-header .stat-value,
.edit-header .stat-label,
.edit-header .stat-value {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 600 !important;
}

/* Keep fee/overdue red */
.loan-edit-header .text-danger,
.edit-header .text-danger,
.loan-edit-header .stat-value.text-danger,
.edit-header .stat-value.text-danger {
    color: #dc2626 !important;
    -webkit-text-fill-color: #dc2626 !important;
    font-weight: 700 !important;
}

.loan-edit-header .badge.bg-danger,
.edit-header .badge.bg-danger {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
