/*--------------------------------------------------------------
# Submit Food Bank Page Styles
--------------------------------------------------------------*/

/* Hero Section */
.submit-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #dbeafe 50%, #e0f2fe 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.submit-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="submit-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f3f4f6" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23submit-grid)"/></svg>');
    opacity: 0.3;
}

.submit-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.submit-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

.submit-hero .trust-signals {
    position: relative;
    z-index: 2;
}

.submit-hero .trust-signals .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Requirements Section */
.requirements-section {
    background: var(--bg-white);
    padding: 5rem 0;
}

/* Email CTA Card */
.email-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.email-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.email-cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.email-cta-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.email-cta-card .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.email-info {
    position: relative;
    z-index: 2;
}

.email-address-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.email-address-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.email-address-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.email-link {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.requirement-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.requirement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.requirement-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.requirement-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.requirement-content {
    padding: 2rem;
}

.requirement-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.required-fields,
.optional-fields {
    margin-bottom: 2rem;
}

.required-fields h4,
.optional-fields h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-fields h4::before {
    content: '•';
    color: var(--danger-color);
    font-size: 1.5rem;
    line-height: 1;
}

.optional-fields h4::before {
    content: '◦';
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
}

.field-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.field-list > li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.field-list > li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.field-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.service-options {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 1rem;
}

.service-options li {
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-options li::before {
    content: '◦';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.attestation-note {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.attestation-note h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attestation-note h4::before {
    content: '⚠';
    color: var(--warning-color);
    font-size: 1.2rem;
}

.attestation-text {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

/* Email Template Section */
.email-template-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.template-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.template-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.template-description {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.template-box {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.template-header {
    background: var(--text-dark);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.template-content {
    padding: 1.5rem;
    line-height: 1.8;
    max-height: 500px;
    overflow-y: auto;
}

.template-content p {
    margin-bottom: 1.25rem;
}

.template-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Help Section */
.help-section {
    margin-top: 3rem;
}

.help-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.help-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.help-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.help-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.help-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.help-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.help-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.info-card {
    background:  var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step .step-number {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.process-step p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
    .submit-hero {
        padding: 3rem 0 2rem;
    }
    
    .submit-hero .hero-title {
        font-size: 2rem;
    }
    
    .submit-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .requirements-section {
        padding: 3rem 0;
    }
    
    .email-cta-card {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .email-cta-card h2 {
        font-size: 1.75rem;
    }
    
    .email-cta-card .lead {
        font-size: 1.1rem;
    }
    
    .email-address-box {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .email-link {
        font-size: 1.1rem;
    }
    
    .requirement-header {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .requirement-header h3 {
        font-size: 1.3rem;
    }
    
    .requirement-content {
        padding: 1.5rem;
    }
    
    .template-card {
        padding: 1.5rem;
    }
    
    .template-title {
        font-size: 1.75rem;
    }
    
    .template-content {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .help-card {
        padding: 2rem 1.5rem;
    }
    
    .help-title {
        font-size: 1.5rem;
    }
    
    .help-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .email-template-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .submit-hero .hero-title {
        font-size: 1.75rem;
    }
    
    .submit-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .submit-hero .trust-signals .badge {
        display: block;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .email-cta-card h2 {
        font-size: 1.5rem;
    }
    
    .email-address-box {
        padding: 1rem;
        width: 100%;
    }
    
    .requirement-header {
        padding: 1rem;
    }
    
    .requirement-content {
        padding: 1rem;
    }
    
    .template-card {
        padding: 1rem;
    }
    
    .template-content {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .help-card {
        padding: 1.5rem 1rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .submit-hero {
        background: white !important;
        padding: 1rem 0 !important;
    }
    
    .submit-hero::before {
        display: none !important;
    }
    
    .email-cta-card {
        background: white !important;
        color: var(--text-dark) !important;
        border: 2px solid var(--border-color) !important;
    }
    
    .requirement-header {
        background: var(--bg-light) !important;
        color: var(--text-dark) !important;
    }
    
    .template-box {
        border: 1px solid var(--border-color) !important;
    }
    
    .info-card {
        background: white !important;
        color: var(--text-dark) !important;
        border: 2px solid var(--border-color) !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Focus Styles for Keyboard Navigation */
.email-link:focus,
.help-item a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .requirement-card {
        border-width: 2px;
    }
    
    .template-box {
        border-width: 3px;
    }
    
    .email-address-box {
        border: 2px solid var(--primary-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .requirement-card,
    .email-address-box,
    .help-item a,
    .email-link {
        transition: none !important;
    }
    
    .requirement-card:hover,
    .email-address-box:hover {
        transform: none !important;
    }
}