/* Food Vendors Page Styles */

/* Hero Section */
.food-vendors-hero {
    background: var(--gradient);
    padding: 100px 20px 60px;
    text-align: center;
    color: var(--text-light);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Food Vendors Notice Section */
.food-vendors-notice-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

/* Confirmed Vendors Section */
.confirmed-vendors {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vendors-title {
    font-size: 1.5rem;
    color: #1f2937;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.vendors-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Food Vendors Grid */
.food-vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.food-vendor-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.food-vendor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.vendor-logo-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.vendor-logo {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.vendor-logo-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.vendor-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.vendors-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    padding: 1rem 0;
}

/* Pricing Section */
.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--gold-bright);
    margin-bottom: 0.75rem;
}

.hero-note {
    max-width: 640px;
    margin: 1.25rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(230, 207, 177, 0.28);
    font-size: var(--font-size-base);
    color: var(--cream);
}

.pricing-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.expect-head {
    max-width: 780px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.expect-eyebrow {
    margin: 0 0 0.6rem;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.expect-title {
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--text-dark);
    text-wrap: balance;
}

.expect-note {
    display: inline-block;
    margin: 0 0 1.1rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--border-radius-full);
    background: color-mix(in srgb, var(--gold) 14%, var(--white));
    color: var(--gold-deep);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.expect-intro {
    margin: 0;
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-muted);
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-container[data-count="2"],
.pricing-container[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-examples {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.pricing-examples li {
    position: relative;
    padding-left: 1rem;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--text-dark);
}

.pricing-examples li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

.expect-closing {
    max-width: 70ch;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-dark);
}

.pricing-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-lg);
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 18px 44px rgba(9, 28, 24, 0.08);
    max-width: 100%;
    margin: 0;
    border: 1px solid var(--border-subtle);
    border-top: 4px solid var(--primary-color);
    text-align: left;
}

.pricing-card.is-full {
    border-top-color: var(--gold-deep);
}

.pricing-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.pricing-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.25;
}

.pricing-status {
    flex-shrink: 0;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-full);
    background: color-mix(in srgb, var(--forest) 10%, var(--white));
    color: var(--forest-deep);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-status.is-full {
    background: color-mix(in srgb, var(--gold-deep) 14%, var(--white));
    color: var(--gold-deep);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.pricing-amount .currency {
    font-size: 1.6rem;
    vertical-align: super;
}

.pricing-blurb {
    color: var(--text-muted);
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
}

.pricing-promo {
    margin: 0 0 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-lg);
    background: color-mix(in srgb, var(--gold) 12%, var(--white));
    color: var(--gold-deep);
    font-size: var(--font-size-sm);
}

.pricing-promo strong {
    font-size: var(--font-size-lg);
    color: var(--gold-deep);
}

.pricing-promo:last-child {
    margin-bottom: 0;
    margin-top: auto;
}

.pricing-footnote {
    max-width: 62ch;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.pricing-footnote strong {
    color: var(--text-dark);
}

.video-discount-section {
    padding: 0 0 60px;
    background: var(--bg-light);
}

.video-discount-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2.25rem 2.5rem;
    border-radius: var(--border-radius-xl);
    background: var(--gradient);
    color: var(--text-light);
    box-shadow: 0 18px 44px rgba(9, 28, 24, 0.18);
}

.video-discount-body {
    flex: 1 1 420px;
}

.video-discount-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.9rem;
    border-radius: var(--border-radius-full);
    background: var(--gold-bright);
    color: var(--ink-green);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-discount-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.video-discount-text {
    margin: 0;
    color: var(--cream);
    font-size: var(--font-size-base);
    line-height: 1.7;
    max-width: 62ch;
}

.video-discount-rules {
    display: grid;
    gap: 0.5rem;
    margin: 1.1rem 0 0;
    padding-left: 1.2rem;
    color: var(--cream);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.video-discount-rules li::marker {
    color: var(--gold-bright);
}

.video-discount-text strong {
    color: var(--gold-bright);
}

.video-discount-link {
    display: inline-block;
    flex-shrink: 0;
    font-size: var(--font-size-base);
    background: var(--gold-bright);
    color: var(--ink-green);
    border: none;
    padding: 0.9rem 1.75rem;
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.video-discount-link:hover,
.video-discount-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(4, 7, 7, 0.28);
    color: var(--ink-green);
}

.discount-message {
    margin-top: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.discount-message.pending {
    background: var(--gray-100);
    color: var(--text-muted);
}

.discount-message.valid {
    background: color-mix(in srgb, var(--forest) 10%, var(--white));
    color: var(--forest-deep);
}

.discount-message.invalid {
    background: color-mix(in srgb, var(--gold-deep) 12%, var(--white));
    color: var(--gold-deep);
}

.price-summary-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: var(--font-size-base);
}

.price-row.discount-applied {
    color: var(--forest);
    font-weight: var(--font-weight-semibold);
}

.price-row.total-row {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.waitlist-notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius-lg);
    background: color-mix(in srgb, var(--gold) 12%, var(--white));
    border-left: 4px solid var(--gold-deep);
    color: var(--gold-deep);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* Section Title Styling */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Registration Form */
.registration-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* File Input Styles */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: block;
    padding: 0.75rem;
    background: var(--white);
    border: 1px dashed #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.file-input-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.file-input-label.has-file {
    border-color: var(--success-color, #28a745);
    color: var(--success-color, #28a745);
    background: rgba(40, 167, 69, 0.05);
}

/* Dietary Options Checkboxes */
.dietary-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.dietary-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dietary-option input[type='checkbox'] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dietary-option label {
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
}

/* Terms Checkbox */
.terms-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.terms-group input[type='checkbox'] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms-label {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.terms-label a:hover {
    color: var(--secondary-color);
}

.disclaimer-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.disclaimer-list li {
    margin-bottom: 0.5rem;
}

.disclaimer-list li:last-child {
    margin-bottom: 0;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type='radio'] {
    display: none;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-option input[type='radio']:checked + .payment-card {
    border-color: var(--primary-color);
    background: rgba(197, 138, 45, 0.1);
}

.payment-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.payment-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.payment-note {
    font-size: 0.85rem;
    color: #666;
}

/* Character Counter */
.char-count {
    font-size: 0.85rem;
    color: #666;
    text-align: right;
    margin-top: 0.25rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #595959 !important;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #d4edda;
    color: #155724;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 auto 1.5rem;
}

.error-icon {
    width: 60px;
    height: 60px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.payment-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: left;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .pricing-container,
    .pricing-container[data-count="2"],
    .pricing-container[data-count="4"] {
        grid-template-columns: 1fr;
    }

    .pricing-card-head {
        flex-direction: column;
        gap: 0.5rem;
    }

    .video-discount-card {
        padding: 1.75rem 1.5rem;
    }

    .video-discount-link {
        width: 100%;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .dietary-options {
        grid-template-columns: 1fr;
    }
    .food-vendors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .confirmed-vendors {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .food-vendors-hero {
        padding: 80px 20px 40px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-title {
        font-size: 1.5rem;
    }

    .pricing-amount {
        font-size: 2rem;
    }

    .food-vendors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .food-vendor-card {
        padding: 1rem;
    }

    .vendor-logo-wrapper,
    .vendor-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .vendor-logo {
        max-width: 50px;
        max-height: 50px;
    }

    .vendor-logo-placeholder {
        font-size: 1.5rem;
    }

    .vendor-name {
        font-size: 0.9rem;
    }
}
