/* ========== UNIFIED PAGE HEADERS ========================================= */
.loans-header,
.books-header,
.members-header,
.authors-header,
.edit-header,
.loan-header,
.dashboard-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%) !important;
    border-radius: 1.25rem !important;
    padding: 2.25rem 1.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08) !important;
    margin-bottom: 1.5rem !important;
    position: relative;
    overflow: hidden;
}

.loans-header .header-title,
.books-header .header-title,
.members-header .header-title,
.authors-header .header-title,
.dashboard-header .header-title,
.header-title.display-5,
.header-title.display-6 {
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.35rem !important;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loans-header .text-muted.fs-5,
.books-header .text-muted,
.members-header .page-subtitle,
.authors-header .text-muted,
.dashboard-header .text-muted {
    color: #64748b !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

.loans-header .icon-wrapper,
.books-header .icon-wrapper,
.members-header .icon-wrapper,
.authors-header .icon-wrapper,
.dashboard-header .icon-wrapper,
.library-icon .icon-wrapper {
    width: 64px !important;
    height: 64px !important;
    font-size: 1.75rem !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3) !important;
    color: #fff !important;
}

/* Stat pills — square corners */
.quick-stats,
.header-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
}

.quick-stats .stat-item,
.header-stats .stat-item,
.loans-header .stat-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.35rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.quick-stats .stat-value { font-weight: 700 !important; color: #1e40af !important; }
.quick-stats .stat-label { font-weight: 500 !important; color: #64748b !important; font-size: 0.8rem !important; }
.quick-stats .stat-item i { margin-right: 0.25rem; }

/* ALL hero buttons — square (no rounded corners) */
.loans-header .btn,
.books-header .btn,
.members-header .btn,
.authors-header .btn,
.header-actions .btn,
.header-actions-stack .btn,
.export-actions .btn {
    border-radius: 0 !important;
}
