/* Modern BloodBank - Premium Health-Tech UI Blueprint */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --brand-primary: #E11D48;      /* Vibrant Crimson Rose */
    --brand-dark: #9F1239;         /* Deep Rose Accent */
    --brand-light: #FFE4E6;        /* Soft Pastel Rose Background */
    --bg-main: #F8FAFC;            /* Clean Slate White */
    --bg-card: #FFFFFF;
    --text-main: #0F172A;          /* Slate 900 for high readability */
    --text-muted: #64748B;         /* Slate 500 */
    --border-subtle: #E2E8F0;     /* Slate 200 */
    --success: #10B981;            /* Vibrant Emerald */
    --warning: #F59E0B;            /* Amber */
    --danger: #EF4444;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    letter-spacing: -0.01em;
}

/* Glassmorphic Sticky Header */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-main) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--brand-primary);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--brand-primary) !important;
    background-color: rgba(225, 29, 72, 0.05);
}

/* Dynamic SaaS Hero Framework */
.hero {
    background: radial-gradient(100% 100% at 50% 0%, rgba(255, 228, 230, 0.5) 0%, rgba(248, 250, 252, 0) 100%);
    padding: 100px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Button Refinement Engine */
.btn-primary-red {
    background-color: var(--brand-primary);
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary-red:hover {
    background-color: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
}

.btn-outline-red {
    background-color: transparent;
    color: var(--brand-primary) !important;
    border: 1px solid var(--brand-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.btn-outline-red:hover {
    background-color: rgba(225, 29, 72, 0.05);
    transform: translateY(-1px);
}

/* Grid & Card Blueprint Optimization */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(225, 29, 72, 0.15);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Minimalist Numeric Analytics Panels */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.stat-card .stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.375rem;
}

.stat-card .stat-icon {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    color: var(--brand-primary);
    background: var(--brand-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

/* Clean, Badge-based Blood Group Metrics */
.blood-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-light);
    color: var(--brand-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    border: 1px solid rgba(225, 29, 72, 0.1);
}

/* Modern Minimalist Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #F8FAFC;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.775rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.5rem;
}

.table tbody td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 0.925rem;
}

/* Beautiful Interface Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: #FEF3C7; color: #D97706; }
.status-approved { background: #D1FAE5; color: #059669; }
.status-rejected { background: #FEE2E2; color: #DC2626; }

/* Dashboard Side Navigation Panels */
.admin-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border-subtle);
    min-height: calc(100vh - 73px);
    padding: 2rem 1rem;
}

.admin-sidebar .nav-link {
    color: var(--text-muted) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
    padding: 0.75rem 1rem !important;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    background: var(--brand-light);
    color: var(--brand-primary) !important;
}
/* Mobile Utilities Add-on */
.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.overflow-x-auto::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
}
@media (max-width: 576px) {
    .w-sm-auto { width: auto !important; }
}
@media (max-width: 768px) {
    .w-md-auto { width: auto !important; }
}