/* ============================================================
   Blood Donor Management System — Custom Styles
   Theme: Crimson Medical Red + Slate/Navy Sidebar + Slate Light Content
   Aesthetics: Premium, professional, clean clinical web-app
   ============================================================ */

:root {
    --primary:       #d90429; /* Vibrant medical crimson */
    --primary-light: #ef233c; /* Bright blood red */
    --primary-dark:  #b3001b; /* Deep ruby red */
    --sidebar-bg:    #0f172a; /* Slate 900 (ultra-clean dark navy) */
    --sidebar-text:  #94a3b8; /* Slate 400 */
    --sidebar-hover: rgba(217, 4, 41, 0.08);
    --sidebar-w:     260px;
    --top-bar-h:     64px;
    --bg:            #f8fafc; /* Slate 50 (clean clinical white-grey) */
    --card-bg:       #ffffff;
    --text:          #0f172a; /* Slate 900 */
    --muted:         #64748b; /* Slate 500 */
    --border:        #e2e8f0; /* Slate 200 */
    --shadow:        0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-hover:  0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
    --radius:        14px;
    --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar.collapsed { width: 78px; }

/* Brand Header */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-text { overflow: hidden; white-space: nowrap; }
.brand-title { 
    display: block; 
    color: #fff; 
    font-weight: 800; 
    font-size: 1.15rem; 
    letter-spacing: 1.2px;
    line-height: 1.2;
}
.brand-sub { 
    display: block; 
    color: var(--sidebar-text); 
    font-size: 0.72rem; 
    opacity: 0.8; 
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 600;
}

/* User Badge */
.sidebar-user {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}
.user-avatar {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #f1f5f9; font-weight: 700; font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.08);
}
.user-info { overflow: hidden; }
.user-name  { display: block; color: #f8fafc; font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.user-role  { 
    font-size: 0.65rem; 
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    background-color: var(--primary-dark) !important;
}

/* Navigation */
.sidebar-nav { flex: 1; overflow-y: auto; padding: 20px 12px; }
.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.nav-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475569;
    padding: 12px 14px 6px;
}

.sidebar-nav .nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    margin-bottom: 4px;
}
.sidebar-nav .nav-link i { font-size: 1.15rem; flex-shrink: 0; }
.sidebar-nav .nav-link:hover { 
    background: rgba(255, 255, 255, 0.04); 
    color: #fff; 
    transform: translateX(4px);
}
.sidebar-nav .nav-link.active { 
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%); 
    color: #fff; 
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
}

.sidebar-footer {
    padding: 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Collapsed Sidebar overrides */
.sidebar.collapsed .brand-text,
.sidebar.collapsed .user-info,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .nav-link span { display: none; }
.sidebar.collapsed .sidebar-brand { justify-content: center; padding: 24px 0; }
.sidebar.collapsed .sidebar-user  { justify-content: center; padding: 16px 0; }
.sidebar.collapsed .sidebar-nav .nav-link { justify-content: center; padding: 12px; }
.sidebar.collapsed .sidebar-nav .nav-link i { margin: 0; }
.sidebar.collapsed .sidebar-nav .nav-link:hover { transform: none; }

/* ============================================================
   TOP NAVBAR
   ============================================================ */
.top-navbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    height: var(--top-bar-h);
    background: #ffffff;
    z-index: 1030;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}
.sidebar.collapsed ~ .top-navbar { left: 78px; }
.top-navbar .navbar-brand {
    color: var(--text) !important;
    font-weight: 700;
}
.top-navbar #sidebarToggle {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    border-radius: 8px;
    padding: 5px 9px;
    transition: var(--transition);
}
.top-navbar #sidebarToggle:hover {
    background: #f1f5f9;
    color: var(--text);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.main-content {
    margin-left: var(--sidebar-w);
    margin-top: var(--top-bar-h);
    padding: 32px;
    min-height: calc(100vh - var(--top-bar-h));
    transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-content.expanded { margin-left: 78px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--card-bg);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-hover);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--text);
    padding: 18px 24px;
    font-size: 0.95rem;
}
.card-body {
    padding: 24px;
}

/* Stat Cards */
.stat-card {
    border-radius: var(--radius);
    padding: 24px;
    color: #fff;
    display: flex; 
    align-items: center; 
    gap: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 90px; height: 90px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.stat-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.12);
}
.stat-card .stat-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}
.stat-card .stat-value { 
    font-size: 2.1rem; 
    font-weight: 800; 
    line-height: 1; 
    letter-spacing: -1px;
}
.stat-card .stat-label { 
    font-size: 0.8rem; 
    font-weight: 600;
    opacity: 0.9; 
    margin-top: 4px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Gradients */
.stat-red    { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%); }
.stat-navy   { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.stat-teal   { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); }
.stat-amber  { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.stat-purple { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.stat-green  { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap; gap: 12px;
}
.page-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.5px;
}
.page-header .breadcrumb {
    font-size: 0.82rem; 
    margin: 4px 0 0;
}
.page-header .breadcrumb-item a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}
.page-header .breadcrumb-item a:hover {
    color: var(--primary);
}

/* ============================================================
   TABLES
   ============================================================ */
.table { 
    font-size: 0.88rem; 
    border-collapse: separate;
    border-spacing: 0;
}
.table thead th {
    background: #f8fafc;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #64748b;
    border-bottom: 2px solid var(--border);
    padding: 14px 20px;
    white-space: nowrap;
}
.table tbody td {
    padding: 14px 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
    color: #334155;
}
.table tbody tr {
    transition: var(--transition);
}
.table tbody tr:hover { 
    background-color: #fef2f2; 
}
.table-responsive {
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}

/* Status Badges */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 0.76rem;
}
.badge-active { 
    background-color: #dcfce7; 
    color: #166534; 
    border: 1px solid rgba(22, 101, 52, 0.15);
}
.badge-inactive { 
    background-color: #fee2e2; 
    color: #991b1b; 
    border: 1px solid rgba(153, 27, 27, 0.15);
}
.badge-suspended { 
    background-color: #fef3c7; 
    color: #92400e; 
    border: 1px solid rgba(146, 64, 14, 0.15);
}
.badge-eligible { 
    background-color: #dcfce7; 
    color: #166534; 
    border: 1px solid rgba(22, 101, 52, 0.15);
}
.badge-not-eligible { 
    background-color: #fee2e2; 
    color: #991b1b; 
    border: 1px solid rgba(153, 27, 27, 0.15);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    border-radius: 9px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}
.btn-sm {
    padding: 5px 12px;
    font-size: 0.78rem;
    border-radius: 7px;
}
.btn-lg {
    padding: 12px 28px;
    font-size: 0.98rem;
    border-radius: 11px;
}
.btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
    color: #fff;
}
.btn-danger {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(217, 4, 41, 0.15);
}
.btn-danger:hover, .btn-danger:focus {
    background: linear-gradient(135deg, #ff4d6d 0%, #c3002f 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(217, 4, 41, 0.22);
    color: #fff;
}
.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.1);
}
.btn-success:hover, .btn-success:focus {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.15);
    color: #fff;
}
.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(100, 116, 139, 0.1);
}
.btn-secondary:hover, .btn-secondary:focus {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(100, 116, 139, 0.15);
    color: #fff;
}
.btn-outline-danger {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}
.btn-outline-danger:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(217, 4, 41, 0.12);
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.98) 0%, rgba(9, 13, 26, 1) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* Organic design shapes */
.login-page::before, .login-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 1;
    opacity: 0.18;
    pointer-events: none;
}
.login-page::before {
    width: 450px;
    height: 450px;
    background: var(--primary-light);
    top: -10%;
    left: -10%;
}
.login-page::after {
    width: 500px;
    height: 500px;
    background: var(--primary-dark);
    bottom: -15%;
    right: -10%;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
}

.login-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 42px 32px 32px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.login-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.login-header .logo-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    display: inline-block;
    color: #ffffff;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    animation: pulse-beat 2.2s infinite ease-in-out;
}
@keyframes pulse-beat {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 8px 20px rgba(239,35,60,0.45)); }
}

.login-header h2 { 
    font-size: 1.4rem; 
    font-weight: 800; 
    margin: 0; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.login-header p { 
    font-size: 0.85rem; 
    opacity: 0.9; 
    margin: 6px 0 0; 
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.login-body { 
    padding: 36px 32px; 
}

/* Form controls */
.form-floating > .form-control:focus,
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.12);
}

.form-label { 
    font-weight: 600; 
    font-size: 0.85rem; 
    color: var(--muted);
    margin-bottom: 6px;
}
.form-control, .form-select { 
    border-radius: 9px; 
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 0.92rem;
    transition: var(--transition);
}
.input-group-text {
    border: 1px solid var(--border);
    background-color: #f8fafc;
    color: var(--muted);
    border-radius: 9px;
}

/* ============================================================
   FORMS & LAYOUTS
   ============================================================ */
.section-divider {
    border-top: 1px solid var(--border);
    margin: 30px 0 20px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   DONOR PROFILE / VERIFICATION CARD
   ============================================================ */
.donor-profile-card {
    border-left: 4px solid var(--primary);
}
.member-badge {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(217, 4, 41, 0.2);
    letter-spacing: 0.5px;
}
.eligibility-badge-ok { 
    background-color: #dcfce7; 
    color: #166534; 
    border: 1px solid rgba(22, 101, 52, 0.15);
    border-radius: 30px; 
    padding: 5px 14px; 
    font-weight: 600;
    font-size: 0.82rem;
}
.eligibility-badge-no { 
    background-color: #fee2e2; 
    color: #991b1b; 
    border: 1px solid rgba(153, 27, 27, 0.15);
    border-radius: 30px; 
    padding: 5px 14px; 
    font-weight: 600;
    font-size: 0.82rem;
}

/* ============================================================
   SEARCH HERO
   ============================================================ */
.search-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--sidebar-bg) 100%);
    border-radius: var(--radius);
    padding: 44px 32px;
    color: #fff;
    margin-bottom: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.15);
}
.search-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.search-hero h2 { 
    font-size: 1.8rem; 
    font-weight: 800; 
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.search-hero p  { opacity: 0.88; font-size: 0.95rem; margin-bottom: 24px; }
.search-hero .input-group { max-width: 560px; margin: 0 auto; }
.search-hero .form-control { 
    border-radius: 10px 0 0 10px !important; 
    font-size: 1rem; 
    border: none;
    padding: 12px 18px;
}
.search-hero .btn { 
    border-radius: 0 10px 10px 0 !important; 
    padding: 12px 24px;
    font-weight: 600;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom   { background: var(--primary) !important; }
.border-primary-custom { border-color: var(--primary) !important; }

.action-buttons { display: flex; gap: 6px; }

/* ============================================================
   DAMU SALAMA — DASHBOARD HERO BANNER
   ============================================================ */
.damu-hero {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    background-image: url('../images/damu_salama_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 20px 40px -10px rgba(179, 0, 27, 0.22), 0 10px 20px -5px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark gradient overlay for readability */
.damu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(9, 13, 26, 0.80) 0%,
        rgba(179, 0, 27, 0.45) 60%,
        rgba(9, 13, 26, 0.75) 100%
    );
    z-index: 1;
}

/* Center content block */
.damu-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Pulsing blood-drop icon */
.damu-hero-icon {
    width: 58px;
    height: 58px;
    background: rgba(239, 35, 60, 0.22);
    border: 2px solid rgba(239, 35, 60, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #ef233c;
    margin-bottom: 6px;
    animation: damu-pulse 2.4s infinite ease-in-out;
    box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.35);
}
@keyframes damu-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.35);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 14px rgba(239, 35, 60, 0);
    }
}

/* Main title */
.damu-hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    line-height: 1;
}

/* Sub-title tagline */
.damu-hero-subtitle {
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0.82;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fca5a5;
}

/* Date + user meta row */
.damu-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    opacity: 0.75;
    margin-top: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.damu-hero-divider {
    opacity: 0.4;
}

/* Breadcrumb pinned to bottom-left */
.damu-hero-breadcrumb {
    position: absolute;
    bottom: 14px;
    left: 20px;
    z-index: 2;
}
.damu-hero-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
}
.damu-hero-breadcrumb .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .top-navbar { left: 0 !important; }
    .main-content { margin-left: 0 !important; padding: 20px 16px; }
    .damu-hero { height: 200px; }
    .damu-hero-title { font-size: 1.8rem; letter-spacing: 3px; }
    .damu-hero-subtitle { font-size: 0.75rem; }
}
