/* ==========================================================================
   DHIIGKAAL - PREMIUM HOMEPAGE DESIGN SYSTEM & UI POLISH
   ========================================================================== */

/* Global Typography & Smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   1. HERO SECTION (RICH MEDICAL CRIMSON WITH GLASSMORPHISM)
   ========================================================================== */
.hero-custom {
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
                linear-gradient(135deg, #ba1a21 0%, #a4161c 50%, #881016 100%);
    color: #ffffff;
    padding: 84px 0 92px 0;
    position: relative;
    overflow: hidden;
}

.hero-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-custom .container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.hero-custom-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 56px;
    align-items: center;
}

.hero-custom-copy h1 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(38px, 4.8vw, 54px);
    font-weight: 800;
    line-height: 1.14;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-custom-copy .hero-custom-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 36px;
    max-width: 530px;
    font-weight: 450;
}

.hero-custom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-btn-primary {
    background: #d3272e;
    background-image: linear-gradient(180deg, #dc2d35 0%, #c41e24 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn-primary:hover {
    background: #b5171d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-btn-secondary {
    background: #d3272e;
    background-image: linear-gradient(180deg, #dc2d35 0%, #c41e24 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary span,
.hero-btn-secondary a {
    color: #ffffff !important;
}

.hero-btn-secondary:hover {
    background: #b5171d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Right Column: Blood Types Card */
.blood-types-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 32px 30px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.blood-types-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 19px;
    font-weight: 750;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.blood-types-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.blood-type-box {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 16px 6px 14px 6px;
    text-align: center;
    color: #ffffff;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.blood-type-box:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.blood-type-box strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.blood-type-box span {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    letter-spacing: 0.02em;
}


/* ==========================================================================
   2. STATS SECTION (ELEVATED CLEAN WHITE METRICS BAR)
   ========================================================================== */
.stats-bar-custom {
    background: #ffffff;
    padding: 50px 0 56px 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.stats-bar-custom .container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-box-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
}

.stat-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.2s ease;
}

.stat-box-custom:hover .stat-icon-circle {
    transform: scale(1.08);
}

.stat-icon-red {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.stat-icon-blue {
    background-color: #e0e7ff;
    color: #2563eb;
    border: 1px solid #c7d2fe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.stat-icon-green {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
}

.stat-icon-purple {
    background-color: #f3e8ff;
    color: #9333ea;
    border: 1px solid #e9d5ff;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
}

.stat-box-custom strong {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.12;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.stat-box-custom span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.45;
}


/* ==========================================================================
   3. WHY CHOOSE OUR PLATFORM (TRUST / FEATURES SECTION)
   ========================================================================== */
.features-section-custom {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 90px 0 100px 0;
    border-bottom: 1px solid #e2e8f0;
}

.features-section-custom .container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.features-header-custom {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 58px auto;
}

.features-header-custom h2 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(30px, 3.5vw, 38px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.features-header-custom p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    font-weight: 450;
}

.features-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card-custom {
    background: #ffffff;
    border-radius: 20px;
    padding: 42px 32px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    border-color: #cbd5e1;
}

.feature-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.12);
    transition: transform 0.25s ease;
}

.feature-card-custom:hover .feature-icon-circle {
    transform: scale(1.08);
}

.feature-card-custom h3 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 20px;
    font-weight: 750;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card-custom p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}


/* ==========================================================================
   4. SEARCH DONOR SECTION & WIDGET ENHANCEMENTS
   ========================================================================== */
#find.section {
    padding-block: 84px;
}

#find .section-head {
    text-align: center;
    margin-bottom: 36px;
}

#find .section-head small {
    display: inline-block;
    padding: 4px 14px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#find .section-head h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

#find .section-head p {
    margin-inline: auto;
    color: #64748b;
    font-size: 15.5px;
    max-width: 640px;
}

.search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.05);
}

.search-grid label > span {
    color: #0f172a;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 8px;
}

.search-grid select {
    min-height: 52px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 600;
    padding: 0 16px;
    transition: all 0.2s ease;
}

.search-grid select:focus {
    border-color: #dc2626;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.button-square {
    min-height: 52px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 750;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
    transition: all 0.2s ease;
    border: none;
}

.button-square:hover {
    background: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.4);
}

.availability-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 24px;
}

.availability-preview > small {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.availability-preview > div > span {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    font-weight: 600;
    color: #1e293b;
    border-radius: 10px;
    padding: 12px 14px;
}

.availability-preview b {
    color: #dc2626;
    font-weight: 750;
}


/* ==========================================================================
   5. HOSPITALS DIRECTORY & TABS POLISH
   ========================================================================== */
.hospital-directory {
    padding-block: 84px;
}

.hospital-directory-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.hospital-directory-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hospital-filters {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.hospital-filters button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font: 700 13px 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hospital-filters button:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

.hospital-filters button.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hospital-filters button span {
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 10px;
    font-weight: 700;
}

.hospital-filters button:not(.active) span {
    background: #e2e8f0;
    color: #475569;
}

.hospital-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.hospital-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.hospital-type.public {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
}

.hospital-type.private {
    background: #fae8ff;
    color: #86198f;
    font-weight: 800;
}


/* ==========================================================================
   6. HOW IT WORKS SECTION POLISH
   ========================================================================== */
.how-section {
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
                #0f172a;
    color: #ffffff;
    padding-block: 90px;
}

.how-section .container > small {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.how-section h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.how-section li {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease;
}

.how-section li:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.how-section li > b {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #f43f5e;
    font-size: 32px;
    font-weight: 850;
    display: block;
    margin-bottom: 12px;
}

.how-section h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 750;
    margin-bottom: 8px;
}

.how-section li p {
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.65;
}


/* ==========================================================================
   7. RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
    .hero-custom-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .hero-custom-copy {
        text-align: center;
    }
    .hero-custom-copy .hero-custom-sub {
        margin-inline: auto;
    }
    .hero-custom-actions {
        justify-content: center;
    }
    .features-grid-custom {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
    .hospital-directory-head {
        display: block;
    }
    .hospital-filters {
        margin-top: 16px;
    }
}

@media (max-width: 640px) {
    .hero-custom {
        padding: 56px 0 64px 0;
    }
    .hero-custom-copy h1 {
        font-size: 34px;
    }
    .blood-types-grid-custom {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .blood-type-box {
        padding: 12px 4px;
    }
    .blood-type-box strong {
        font-size: 17px;
    }
    .blood-type-box span {
        font-size: 10px;
    }
    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .features-header-custom h2 {
        font-size: 28px;
    }
    .hero-custom-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn {
        width: 100%;
    }
}

/* ==========================================================================
   SAFETY & AUDIT CENTRE - PREMIUM ADMINISTRATION DESIGN SYSTEM
   ========================================================================== */
.admin-safety-hero {
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                linear-gradient(135deg, #ba1a21 0%, #a4161c 50%, #881016 100%);
    color: #ffffff;
    padding: 64px 0 76px 0;
}

.admin-safety-hero-top {
    margin-bottom: 16px;
}

.admin-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-safety-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 850;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.025em;
}

.admin-safety-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.admin-safety-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.safety-stat-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.stat-chip-icon {
    font-size: 24px;
    line-height: 1;
}

.safety-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 850;
    color: #ffffff;
    line-height: 1.1;
}

.safety-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #fecdd3;
}

.admin-safety-body {
    background: #f8fafc;
    padding-block: 76px 100px;
}

.admin-safety-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.safety-alert-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: 14px;
    margin-bottom: 32px;
    font-size: 14.5px;
    font-weight: 600;
}

.safety-alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.safety-alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.safety-section-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 38px 34px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 38px;
}

.safety-block-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.safety-block-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 0 0;
    letter-spacing: -0.015em;
}

.safety-block-sub {
    font-size: 14px;
    color: #64748b;
    margin: 4px 0 0 0;
}

.safety-tag-red {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #dc2626;
}

.safety-tag-blue {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
}

.safety-tag-purple {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9333ea;
}

.safety-count-badge {
    padding: 6px 14px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 750;
}

/* Reports Section */
.safety-report-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 18px;
    transition: all 0.2s ease;
}

.safety-report-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.report-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.report-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 800;
}

.report-date {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
}

.report-content-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.report-details-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
}

.report-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.reporter-info {
    font-size: 13.5px;
    color: #64748b;
}

.reporter-info strong {
    color: #0f172a;
    margin-inline: 4px;
}

.btn-resolve-report {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-resolve-report:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* User Account Cards */
.safety-users-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.user-moderation-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.user-moderation-card.is-suspended {
    border-color: #fca5a5;
    background: #fffafa;
}

.user-moderation-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.user-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.user-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar-initials {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ba1a21, #881016);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 850;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(186, 26, 33, 0.2);
}

.user-name-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.user-meta-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.role-pill {
    padding: 4px 11px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 750;
}

.role-admin { background: #f3e8ff; color: #9333ea; border: 1px solid #e9d5ff; }
.role-hospital { background: #dbeafe; color: #2563eb; border: 1px solid #bfdbfe; }
.role-donor { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.role-patient { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.role-health_provider { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }

.status-indicator-pill {
    padding: 4px 11px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 750;
}

.status-green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.status-red { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }

.user-contact-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
}

.joined-date {
    font-size: 12px;
    color: #94a3b8;
}

/* Suspended Callout Box */
.suspended-callout-box {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
}

.callout-icon {
    font-size: 22px;
    line-height: 1;
}

.callout-text strong {
    display: block;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
}

.callout-text p {
    margin: 0 0 4px 0;
    font-size: 13.5px;
    color: #7f1d1d;
}

.callout-text small {
    color: #991b1b;
    font-size: 11.5px;
}

/* Moderation Controls Drawer */
.moderation-controls-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.btn-toggle-suspend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    list-style: none;
}

.btn-toggle-suspend::-webkit-details-marker {
    display: none;
}

.btn-toggle-suspend:hover {
    background: #dc2626;
    color: #ffffff;
}

.suspend-form-panel {
    margin-top: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
}

.form-label strong {
    display: block;
    font-size: 13.5px;
    color: #0f172a;
    margin-bottom: 4px;
}

.label-hint {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 12px;
}

.reason-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.preset-btn {
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.15s ease;
}

.preset-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.reason-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13.5px;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
    margin-bottom: 14px;
    outline: none;
}

.reason-textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-actions-row {
    display: flex;
    justify-content: flex-end;
}

.btn-confirm-suspend {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm-suspend:hover {
    background: #b91c1c;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-restore-access {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-restore-access:hover {
    background: #15803d;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.admin-safe-seal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
}

/* Empty State */
.safety-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border: 1.5px dashed #e2e8f0;
    border-radius: 18px;
}

.empty-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 12px auto;
}

.safety-empty-state h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.safety-empty-state p {
    font-size: 14px;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

/* Audit Table */
.safety-audit-table-wrap {
    overflow-x: auto;
}

.safety-audit-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
}

.safety-audit-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 18px;
    border-bottom: 1.5px solid #e2e8f0;
    text-align: left;
}

.safety-audit-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.safety-audit-table tr:last-child td {
    border-bottom: none;
}

.safety-audit-table tr:hover td {
    background: #f8fafc;
}

.td-id {
    font-family: monospace;
    font-weight: 700;
    color: #94a3b8;
}

.audit-event-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.td-time small {
    display: block;
    color: #94a3b8;
    font-size: 11.5px;
}

.td-empty {
    text-align: center;
    color: #94a3b8;
    padding: 32px !important;
}

@media (max-width: 850px) {
    .user-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .user-contact-badges {
        width: 100%;
    }
}

