/* =================================================================
   Macskakiállítás Belépőjegy – Demo Form Styling (minimal)
   ================================================================= */

/* Hide theme chrome if template_include still outputs it */
.wp-site-blocks > header,
.wp-site-blocks > footer,
.site-header,
.site-footer {
    display: none !important;
}

/* ---- Gravity Forms wrapper ---- */
.gform_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.gform_wrapper form {
    margin: 0 !important;
}

/* ---- Field labels ---- */
.gfield_label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1e293b !important;
    margin-bottom: 4px !important;
}

/* ---- Text inputs, selects, textareas ---- */
.gfield input[type="text"],
.gfield input[type="email"],
.gfield input[type="tel"],
.gfield input[type="number"],
.gfield select,
.gfield textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease !important;
}

.gfield input[type="text"]:focus,
.gfield input[type="email"]:focus,
.gfield input[type="tel"]:focus,
.gfield input[type="number"]:focus,
.gfield select:focus,
.gfield textarea:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* ---- Section titles ---- */
.gsection_title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 8px 0 4px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

/* ---- Radio buttons (billing type) ---- */
.gfield_radio li label {
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* ---- Product fields (ticket types) ---- */
.ginput_product_price {
    font-weight: 600 !important;
    color: #4f46e5 !important;
}

/* ---- Submit button ---- */
.gform_button,
input[type="submit"].gform_button {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 12px !important;
    transition: background 0.2s ease !important;
}

.gform_button:hover,
input[type="submit"].gform_button:hover {
    background: #4338ca !important;
}

/* ---- Validation errors ---- */
.gfield_error .ginput_container input,
.gfield_error .ginput_container select,
.gfield_error .ginput_container textarea {
    border-color: #ef4444 !important;
}

.validation_error {
    background: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    color: #991b1b !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
}

/* ---- Confirmation message ---- */
.gform_confirmation_message {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    border-radius: 8px !important;
    padding: 20px !important;
    color: #166534 !important;
    font-size: 15px !important;
    text-align: center !important;
}

/* ---- Description text under fields ---- */
.gfield_description {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 3px !important;
}

/* ---- Stripe card element ---- */
.gfield--stripe-card .ginput_container {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
}
