/* ===================================================
   BloodWaly — MEWA Foundation Emergency Blood Styles
   Feature: blood-need
   Language: Standard English (LTR)
   =================================================== */

.need-portal-page {
    padding-top: 5rem;
}

/* --- 1. Global Alert Banner --- */
.alert-container {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.3s ease;
}

/* Unified Account Banners */
.unified-auth-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeIn 0.3s ease;
}

.uauth-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.uauth-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.uauth-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6ee7b7;
    display: block;
}

.uauth-name {
    font-size: 1rem;
    color: var(--text-primary);
}

.uauth-group {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.8rem;
}

.uauth-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-uauth-dash {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-uauth-dash:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--blood-red-glow);
}

.btn-uauth-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-uauth-logout:hover {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.unified-guest-banner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.unified-guest-banner i {
    color: var(--blood-red);
}

.unified-guest-banner a {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 600;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.alert-error {
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--blood-red);
    color: #fff;
    transition: var(--transition);
}

.header-btn-action:hover {
    background: var(--blood-red-deep);
    transform: translateY(-1px);
}

.header-btn-action.secondary {
    background: var(--surface);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.header-btn-action.secondary:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

/* --- 2. Hero Section --- */
.need-hero {
    padding: 5rem 0 3rem;
    text-align: center;
}

.hero-badge.emergency {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: var(--radius-full);
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulseBorder 2.5s infinite;
}

@keyframes pulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.need-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 50%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 850px;
    margin: 0 auto 1.25rem;
}

.need-hero .hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-hero.primary {
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    color: #fff;
    box-shadow: 0 8px 25px var(--blood-red-glow);
}

.btn-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}

.btn-hero.secondary {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-hero.secondary:hover {
    background: var(--surface-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
}

/* --- 3. Compatibility & Safeguards Helper --- */
.need-helper-section {
    padding: 2rem 0 3.5rem;
}

.helper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.compat-box,
.safety-box {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.compat-box:hover,
.safety-box:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.box-header i {
    font-size: 1.3rem;
    color: #60a5fa;
}

.box-header.warning i {
    color: var(--amber-warm);
}

.box-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.box-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.compat-selector {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.compat-selector label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.compat-selector select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}

.compat-result {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.compat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.compat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-blood {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
}

.safety-rules {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.safety-rules li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.safety-rules li i {
    color: var(--emerald);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.safety-rules li strong {
    color: var(--text-primary);
}

/* --- 4. Interactive Console Section --- */
.need-console-section {
    padding: 3.5rem 0 5rem;
}

.console-tabs {
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.console-tabs .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.console-tabs .tab-btn:hover {
    color: var(--text-primary);
}

.console-tabs .tab-btn.active {
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--blood-red-glow);
}

/* Quick 1-Click Blood Group Bar (Ultra-Fast 3-Click Access) */
.quick-blood-bar {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-bar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-bar-title i {
    color: var(--blood-red);
}

.quick-bg-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-bg-quick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-bg-quick:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-bg-quick.active {
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    color: #fff;
    border-color: var(--blood-red);
    box-shadow: 0 4px 15px var(--blood-red-glow);
}

/* --- 5. Filter Card & Donors Grid --- */
.filter-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-group label i {
    color: var(--blood-red);
}

.filter-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.filter-group select:focus {
    border-color: var(--blood-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    background: var(--surface-hover);
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter:hover {
    background: var(--blood-red);
    border-color: var(--blood-red);
    color: #fff;
    transform: translateY(-2px);
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
}

.results-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.results-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

/* Donors Cards Grid */
.donors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-loading,
.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.grid-loading i {
    font-size: 2rem;
    color: var(--blood-red);
    margin-bottom: 1rem;
}

/* Single Donor Card */
.donor-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.donor-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.donor-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.donor-blood-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 15px var(--blood-red-glow);
}

.donor-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.donor-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.donor-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.donor-location i {
    color: var(--blood-red);
}

.donor-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.donor-meta-row strong {
    color: var(--text-primary);
}

.donor-masked-box {
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.masked-phone-number {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #94a3b8;
}

.btn-unlock-contact {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-unlock-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--blood-red-glow);
}

/* --- 6. Post Emergency Request Form --- */
.glass-form-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group label i {
    color: var(--blood-red);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.1rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--blood-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.field-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Urgency Grid */
.urgency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.urgency-label {
    cursor: pointer;
}

.urgency-label input[type="radio"] {
    display: none;
}

.urgency-btn {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
    height: 100%;
}

.urgency-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.urgency-label.emergency .urgency-btn i {
    color: #ef4444;
}

.urgency-label.urgent .urgency-btn i {
    color: #f59e0b;
}

.urgency-label.routine .urgency-btn i {
    color: #3b82f6;
}

.urgency-btn strong {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.urgency-btn small {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.urgency-label input[type="radio"]:checked + .urgency-btn {
    border-color: var(--blood-red);
    background: rgba(220, 38, 38, 0.15);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.form-checkbox {
    margin-bottom: 1.5rem;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--blood-red);
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--blood-red-deep) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--blood-red-glow);
}

/* --- 7. Live Urgent Requests Section --- */
.live-requests-section {
    padding: 3.5rem 0 5rem;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.section-subheading {
    color: var(--text-secondary);
    font-size: 1rem;
}

.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-refresh:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.requests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.request-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.request-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
}

.req-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.req-blood-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
}

.req-urgency-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.req-urgency-badge.emergency {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.req-urgency-badge.urgent {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
}

.req-urgency-badge.scheduled {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #bfdbfe;
}

.req-patient-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.req-hospital-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.req-hospital-line i {
    color: #60a5fa;
}

.req-meta-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.req-meta-box div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.req-meta-box strong {
    color: var(--text-primary);
}

.btn-respond-request {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--surface-hover);
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-respond-request:hover {
    background: var(--blood-red);
    border-color: var(--blood-red);
    color: #fff;
}

/* --- 8. Contact Unlock Modal --- */
.unlock-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.25s ease;
}

.unlock-modal-card {
    background: #0f172a;
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.donor-summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unlock-inner-form .form-group {
    margin-bottom: 1rem;
}

.unlock-inner-form label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.reveal-success-icon {
    font-size: 2.8rem;
    color: var(--emerald);
    text-align: center;
    margin-bottom: 1rem;
}

.revealed-phone-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.phone-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.4rem;
}

.phone-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 0.08em;
    color: #6ee7b7;
    margin-bottom: 1.25rem;
}

.revealed-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.btn-action-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-action-phone.call {
    background: #2563eb;
    color: #fff;
}

.btn-action-phone.call:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-action-phone.whatsapp {
    background: #10b981;
    color: #fff;
}

.btn-action-phone.whatsapp:hover {
    background: #059669;
    transform: translateY(-2px);
}

.modal-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.modal-notice i {
    color: #60a5fa;
    margin-top: 0.15rem;
}

.btn-modal-close {
    width: 100%;
    padding: 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-modal-close:hover {
    background: var(--surface-hover);
}

/* --- 9. FAQ Section --- */
.need-faq {
    padding: 4rem 0 5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.faq-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-card h3 i {
    color: var(--blood-red);
}

.faq-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- 10. Responsive Breakpoints --- */
@media (max-width: 900px) {
    .helper-grid,
    .donors-grid,
    .requests-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .urgency-grid {
        grid-template-columns: 1fr;
    }

    .need-hero h1 {
        font-size: 2.2rem;
    }
}

