/* body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
}

header {
    background: #c62828;
    color: white;
    padding: 15px;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button {
    background: #c62828;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

input, select {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
} */
 body { margin:0; font-family:'Segoe UI', sans-serif; background:#f5f7fb; }

.navbar {
    display:flex; justify-content:space-between; align-items:center;
    background:#c62828; padding:15px 40px; color:white;
}
.navbar a { color:white; margin-left:20px; text-decoration:none; }

.main-container { max-width:1000px; margin:auto; padding:30px 20px; }

.hero {
    text-align:center; padding:80px 20px;
    background:linear-gradient(135deg,#c62828,#e53935);
    color:white; border-radius:12px;
}

button {
    background:#c62828; color:white; border:none;
    padding:12px 18px; border-radius:8px; cursor:pointer;
}

.secondary { background:white; color:#c62828; }

.form-card {
    background:white; padding:30px; border-radius:12px;
    max-width:500px; margin:auto; box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

input,select { width:100%; padding:10px; margin:8px 0 18px; border:1px solid #ddd; border-radius:6px; }

.donor-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; }

.donor-card {
    background:white; padding:20px; border-radius:12px;
    position:relative; box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.blood-badge {
    position:absolute; top:15px; right:15px;
    background:#c62828; color:white; padding:6px 10px; border-radius:6px;
}

.emergency-banner {
    background:#ffebee; color:#c62828; font-weight:bold;
    text-align:center; padding:15px; border-radius:8px; margin-bottom:20px;
}

.emergency-card {
    border:2px solid #c62828;
    animation:pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow:0 0 0 rgba(198,40,40,0.4); }
    50% { box-shadow:0 0 12px rgba(198,40,40,0.4); }
    100% { box-shadow:0 0 0 rgba(198,40,40,0.4); }
}

.footer { text-align:center; padding:20px; background:#c62828; color:white; margin-top:40px; }
.alert { background:#e3f2fd; padding:10px; border-radius:6px; margin-bottom:20px; }