/* Donation Page Styles */
.donation-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fb;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.donation-page .donation-main {
    flex: 1;
}

/* Main */
.donation-main {
    padding: 48px 24px 64px;
}

.donation-container {
    max-width: 1100px;
    margin: 0 auto;
}

.donation-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.donation-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 16px;
}

.success-msg {
    background: #dcfce7;
    color: #166534;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* Form */
.donation-form {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-section {
    margin-bottom: 28px;
}

.form-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1e293b;
}

.section-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.form-section label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.form-section input,
.form-section select,
.form-section textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
    margin-bottom: 16px;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
}

.form-section input.input-error,
.form-section select.input-error,
.form-section textarea.input-error {
    border-color: #dc2626;
    background: #fef2f2;
}

.form-section input.input-valid,
.form-section select.input-valid,
.form-section textarea.input-valid {
    border-color: #16a34a;
}

.form-section input.input-valid:focus,
.form-section select.input-valid:focus,
.form-section textarea.input-valid:focus {
    border-color: #3b82f6;
}

.form-section select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-section textarea {
    resize: vertical;
    min-height: 80px;
}

/* Delivery Method */
.delivery-section {
    margin-top: 24px;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.delivery-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-card:hover {
    border-color: #94a3b8;
}

.delivery-card.selected,
.delivery-card:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

.delivery-card input {
    display: none;
}

.card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 13px;
    color: #64748b;
}

/* Drop-off Locations */
.dropoff-section {
    margin-top: 24px;
}

.dropoff-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-card {
    display: block;
    position: relative;
    padding: 16px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.location-card:hover {
    background: #d1fae5;
}

.location-card input {
    position: absolute;
    opacity: 0;
    margin: 0;
}

.location-content {
    margin-left: 0;
}

.location-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.location-content p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

.location-content small {
    font-size: 12px;
    color: #64748b;
}

/* Submit Button */
.submit-wrap {
    text-align: center;
    margin-top: 32px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #334155;
}

.btn-icon {
    font-size: 14px;
}

.btn-arrow {
    font-size: 18px;
}

/* Footer */
.donation-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 24px 24px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-inner > * {
    min-width: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.footer-brand .logo-icon {
    font-size: 24px;
}

.footer-brand strong {
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
    overflow-wrap: break-word;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #334155;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .delivery-options {
        grid-template-columns: 1fr;
    }

    .header-nav {
        flex-wrap: wrap;
    }
}
