/* ═══════════════════════════════════════════════════════════
   Event Exhibitor Manager — Frontend Booking Form
   HOOKED! National Brand Styles
   ═══════════════════════════════════════════════════════════ */

:root {
    --eem-green: #1a5c2a;
    --eem-green-light: #e8f5e9;
    --eem-green-dark: #14471f;
    --eem-teal: #1b3a4b;
    --eem-gold: #c5a55a;
    --eem-bg: #f7f6f3;
    --eem-card: #ffffff;
    --eem-border: #ddd;
    --eem-text: #2c2c2c;
    --eem-text-light: #666;
    --eem-radius: 10px;
}

/* ── Form Wrapper ── */
.eem-booking-form-wrap {
    max-width: 820px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--eem-text);
    line-height: 1.5;
}

/* ── Logo Header ── */
.eem-form-logo {
    text-align: center;
    padding: 20px 0 10px;
}

.eem-form-logo img {
    max-width: 180px;
    height: auto;
}

.eem-form-event-info {
    text-align: center;
    margin-bottom: 24px;
}

.eem-form-event-info p {
    margin: 2px 0;
    font-size: 0.9em;
    color: var(--eem-text-light);
}

/* ── Early Bird Banner ── */
.eem-early-bird-banner {
    background: linear-gradient(135deg, var(--eem-green), var(--eem-green-dark));
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--eem-radius);
    margin: 0 0 28px;
    font-size: 1.05em;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(26, 92, 42, 0.25);
}

.eem-early-bird-banner strong {
    color: #fff;
}

/* ── Fieldsets ── */
.eem-fieldset {
    background: var(--eem-card);
    border: 1px solid var(--eem-border);
    border-radius: var(--eem-radius);
    padding: 28px 28px 20px;
    margin: 0 0 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    position: relative;
}

.eem-fieldset legend {
    font-size: 1.15em;
    font-weight: 700;
    padding: 0 12px;
    color: var(--eem-green);
    background: var(--eem-card);
}

.eem-fieldset-intro {
    margin: 0 0 18px;
    color: var(--eem-text-light);
    font-size: 0.93em;
    line-height: 1.5;
}

/* ── Form Rows ── */
.eem-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.eem-field {
    flex: 1;
}

.eem-field-full {
    flex: 1 1 100%;
}

.eem-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.92em;
    color: var(--eem-text);
}

.eem-required {
    color: #c00;
}

.eem-field-hint {
    margin: 5px 0 10px;
    font-size: 0.85em;
    color: var(--eem-text-light);
    line-height: 1.45;
}

/* ── Inputs ── */
.eem-field input[type="text"],
.eem-field input[type="email"],
.eem-field input[type="tel"],
.eem-field input[type="url"],
.eem-field select,
.eem-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 0.95em;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--eem-text);
}

.eem-field input:focus,
.eem-field select:focus,
.eem-field textarea:focus {
    border-color: var(--eem-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 92, 42, 0.12);
}

.eem-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ── Add-ons List ── */
.eem-addon-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eem-addon-item {
    background: var(--eem-bg);
    border: 1.5px solid var(--eem-border);
    border-radius: 8px;
    padding: 14px 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.eem-addon-item:hover {
    border-color: var(--eem-green);
    box-shadow: 0 0 0 2px rgba(26, 92, 42, 0.08);
}

.eem-addon-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
}

.eem-addon-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--eem-green);
}

.eem-addon-name {
    flex: 1;
}

.eem-addon-price {
    font-weight: 700;
    color: var(--eem-green);
    white-space: nowrap;
    font-size: 1em;
}

.eem-addon-desc {
    margin: 6px 0 0 32px;
    font-size: 0.88em;
    color: var(--eem-text-light);
}

.eem-addon-avail {
    display: inline-block;
    margin: 4px 0 0 32px;
    font-size: 0.82em;
    color: #999;
}

.eem-addon-qty {
    margin: 10px 0 0 32px;
}

.eem-addon-qty select {
    padding: 5px 10px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 0.9em;
}

/* ── Feature Slots ── */
.eem-feature-item {
    border-left: 4px solid var(--eem-green);
    background: var(--eem-green-light);
}

.eem-feature-slot {
    margin: 10px 0 0 32px;
}

.eem-feature-slot input[type="text"] {
    width: 300px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 0.92em;
}

.eem-slot-note {
    margin: 4px 0 0;
    font-size: 0.82em;
    color: #999;
    font-style: italic;
}

/* ── T&Cs Checkbox ── */
.eem-fieldset-terms {
    background: var(--eem-green-light);
    border: 2px solid var(--eem-green);
    padding: 18px 24px;
    margin-bottom: 8px;
}

.eem-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95em;
    line-height: 1.45;
    font-weight: 500;
}

.eem-terms-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--eem-green);
}

.eem-terms-label a {
    color: var(--eem-green);
    text-decoration: underline;
    font-weight: 600;
}

.eem-terms-label a:hover {
    color: var(--eem-green-dark);
}

/* ── Submit ── */
.eem-form-submit {
    text-align: center;
    padding: 28px 0 12px;
}

.eem-submit-btn {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--eem-green), var(--eem-green-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 3px 12px rgba(26, 92, 42, 0.3);
    letter-spacing: 0.3px;
}

.eem-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(26, 92, 42, 0.4);
}

.eem-submit-btn:active {
    transform: translateY(0);
}

.eem-submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.eem-submit-note {
    margin: 14px 0 0;
    font-size: 0.88em;
    color: var(--eem-text-light);
}

/* ── Messages ── */
#eem-form-messages {
    margin: 16px 0;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.95em;
}

#eem-form-messages.eem-msg-success {
    background: var(--eem-green-light);
    color: var(--eem-green-dark);
    border: 1px solid #c3e6cb;
}

#eem-form-messages.eem-msg-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Success Page ── */
.eem-booking-success {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    padding: 48px 40px;
    background: var(--eem-green-light);
    border: 2px solid var(--eem-green);
    border-radius: 12px;
}

.eem-booking-success h3 {
    margin: 0 0 12px;
    font-size: 1.6em;
    color: var(--eem-green);
}

.eem-booking-success p {
    margin: 8px 0;
    color: var(--eem-green-dark);
    font-size: 1.05em;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .eem-form-row {
        flex-direction: column;
        gap: 12px;
    }

    .eem-fieldset {
        padding: 20px 18px 16px;
    }

    .eem-addon-label {
        flex-wrap: wrap;
    }

    .eem-addon-price {
        width: 100%;
        margin-left: 32px;
    }

    .eem-feature-slot input[type="text"] {
        width: 100%;
    }

    .eem-submit-btn {
        width: 100%;
        padding: 16px 20px;
    }
}
