/*--------------------------------------------------------------
# Update or Remove Food Bank Listing - Stylesheet
--------------------------------------------------------------*/

/* Hero Banner */
.update-remove-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%);
    padding: 3.5rem 0 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.update-remove-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ur-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23ur-grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.org-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid #bae6fd;
}

.update-remove-hero h1 {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.update-remove-hero .hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Fast Action Notice Banner */
.act-fast-banner {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem auto 2.5rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.act-fast-banner .banner-icon {
    width: 44px;
    height: 44px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.act-fast-banner .banner-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #92400e;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.act-fast-banner p {
    font-size: 0.95rem;
    color: #78350f;
    margin-bottom: 0;
    line-height: 1.55;
}

/* Main Form Container */
.form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    padding: 2.5rem;
    margin-bottom: 4rem;
}

/* Form Sections */
.form-section-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section-block:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

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

.section-num {
    width: 32px;
    height: 32px;
    background: #ecfdf5;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #a7f3d0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

/* Inputs & Labels */
.form-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.925rem;
    margin-bottom: 0.4rem;
}

.form-label .required-star {
    color: #dc2626;
}

.form-control, .form-select {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #f8fafc;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

/* Radio Cards (Reasons & Urgency) */
.radio-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-card {
    position: relative;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.radio-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.radio-card input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.radio-card.active,
.radio-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: #f0fdf4;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.radio-card-content {
    flex-grow: 1;
}

.radio-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.radio-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Urgency Tags */
.urgency-badge-urgent {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.urgency-badge-standard {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* Relationship Pill Grid */
.relationship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}

.relationship-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.relationship-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.relationship-card input[type="radio"] {
    accent-color: var(--primary-color);
    width: 17px;
    height: 17px;
}

.relationship-card.active,
.relationship-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: #f0fdf4;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Submit Action Button */
.btn-submit-request {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.28);
}

.btn-submit-request:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

.form-footer-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.form-footer-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer-note a:hover {
    text-decoration: underline;
}

/* Anti-spam honeypot */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .update-remove-hero {
        padding: 2.5rem 0 2rem;
    }
    .update-remove-hero h1 {
        font-size: 1.85rem;
    }
    .form-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    .relationship-grid {
        grid-template-columns: 1fr;
    }
    .btn-submit-request {
        width: 100%;
    }
}
