/* Donation Pages */
body { padding-top: var(--nav-height); }
body.has-topbar { padding-top: calc(var(--nav-height) + var(--topbar-height)); }

.donate-hero {
    padding: 50px 0 30px;
    background: #fff;
    text-align: center;
}

.donate-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a2b42;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.donate-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto 16px;
    text-align: left;
}

.donate-categories {
    padding: 30px 0;
    background: #f5f7fa;
}

.donate-cat-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s;
    height: 100%;
}

.donate-cat-card:hover { transform: translateY(-4px); }

.donate-cat-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.donate-cat-placeholder {
    height: 160px;
    background: linear-gradient(135deg, #1a6fc4, #2E86C1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.donate-cat-card h4 {
    color: #e8913a;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 10px;
    margin: 0;
}

.donate-inquiry {
    padding: 30px 0;
    background: #fff;
}

.donate-inquiry h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b42;
    margin-bottom: 12px;
}

.donate-form-section {
    padding: 40px 0;
    background: #eef2f7;
}

.donate-form-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.donate-form-header {
    background: #e8913a;
    color: #fff;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 15px;
}

.donate-form-card form { padding: 24px; }

.donate-field {
    margin-bottom: 16px;
}

.donate-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.donate-field input,
.donate-field select,
.donate-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.donate-field input:focus,
.donate-field select:focus,
.donate-field textarea:focus {
    border-color: #1a6fc4;
}

.donate-note {
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 16px;
}

.donate-submit-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.donate-submit-btn:hover { background: #218838; }

.donate-gateway-cards {
    padding: 30px 0 50px;
    background: #eef2f7;
}

.gateway-card {
    background: #0c1a3a;
    border-radius: 8px;
    text-align: center;
    padding: 24px 16px;
    color: #fff;
    height: 100%;
}

.gateway-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 28px;
    color: #1a6fc4;
}

.gateway-card p {
    margin: 0;
    font-size: 14px;
}

.gateway-card a { color: #e8913a; font-weight: 600; }

.donate-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 24px 0;
    font-size: 14px;
}

.donate-alert-success { background: #d4edda; color: #155724; }
.donate-alert-danger { background: #f8d7da; color: #721c24; }

/* Validate Receipt */
.validate-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #0c1a3a 0%, #0d2a5a 100%);
    min-height: 70vh;
}

.validate-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 30px;
    color: #fff;
}

.validate-card h2 {
    color: #e8913a;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.validate-note {
    color: #f8d7da;
    font-size: 13px;
    margin-bottom: 20px;
}

.validate-form .donate-field label { color: #ccc; }

.validate-form input {
    background: #fff;
    border: none;
}

.captcha-box {
    background: #1a6fc4;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 6px;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 8px;
    user-select: none;
}

.validate-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.validate-result {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.validate-result h4 { color: #fff; margin-bottom: 16px; }

.validate-table {
    width: 100%;
    font-size: 14px;
}

.validate-table th {
    text-align: left;
    padding: 8px 12px 8px 0;
    color: #e8913a;
    width: 40%;
}

.validate-table td {
    padding: 8px 0;
    color: #eee;
}

.status-paid { color: #28a745; font-weight: 700; }
.status-pending { color: #ffc107; font-weight: 600; }

.validate-card a { color: #e8913a; }

@media (max-width: 768px) {
    .donate-hero h1 { font-size: 20px; }
    .donate-cat-card img, .donate-cat-placeholder { height: 120px; }
    .validate-card { padding: 20px; margin: 0 10px; }
}
