/* ===== ESTILOS INDEPENDIENTES PARA CHECKOUT (MODERNO) ===== */

.tp-checkout-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 32px 0;
    max-width: 1200px;
    margin: 32px auto;
    border-radius: 32px !important;
}

.tp-checkout-layout {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.08);
    border-radius: 32px;
}

.tp-checkout-form-col {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 24px 28px 18px 28px;
    background: #fff;
    border-radius: 32px 0 0 32px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tp-checkout-ticket-col {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 24px 28px 18px 28px;
    background: #fff;
    border-radius: 0 32px 32px 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 8px solid #111;
}
.rw-form-checkout {
    background: #fff;
    border-radius: 16px;
   /*  box-shadow: 0 4px 24px rgba(30, 41, 59, 0.08); */
    padding: 32px 36px 24px 36px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0px !important;
}
.rw-form-checkout input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select,textarea,.rw-form- input[type="time"] {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1em;
    margin-top: 2px;
    background: #f8fafc;
    color: #222e50;
    transition: border 0.2s;
}
.tp-checkout-ticket-resumen {
    background: var(--tp-ticket-bg, #fff);
    color: var(--tp-ticket-text, #111);
    border-radius: 0 32px 32px 0;
    box-shadow: none;
    padding: 24px 28px 18px 28px;
    font-size: 1em;
    margin-bottom: 0;
    max-width: 420px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tp-checkout-ticket-resumen h3 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--tp-ticket-decorator, #111);
    text-align: left;
}
.tp-checkout-ticket-resumen .tp-ticket-linea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 2px 0;
    margin-bottom: 0;
    border-bottom: 1px dashed #d1d5db;
    font-size: 0.98em;
    min-height: 28px;
}
.tp-checkout-ticket-resumen .tp-ticket-linea strong {
    color: var(--tp-ticket-decorator, #111);
    font-weight: 500;
}
.tp-checkout-ticket-resumen .tp-ticket-total {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 2px solid var(--tp-ticket-decorator, #111);
    font-size: 1.08em;
    font-weight: 700;
    text-align: right;
    color: var(--tp-ticket-decorator, #111);
}
.tp-checkout-ticket-resumen .tp-ticket-iva {
    font-size: 0.97em;
    color: #64748b;
    text-align: right;
    margin-top: 2px;
}
.tp-checkout-ticket-resumen .tp-ticket-costo {
    font-size: 1em;
    color: #111;
    text-align: right;
    margin-top: 2px;
}

.tp-checkout-wrapper .tp-checkout-form-col h3,
.tp-checkout-wrapper .tp-checkout-ticket-col h3 {
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 28px;
    color: #111;
}

.tp-checkout-wrapper .tp-checkout-form-col label {
    font-weight: 500;
    color: #222e50;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0px !important;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form input[type="text"],
.tp-checkout-wrapper .tp-checkout-form-col .rw-form input[type="email"],
.tp-checkout-wrapper .tp-checkout-form-col .rw-form input[type="tel"],
.tp-checkout-wrapper .tp-checkout-form-col .rw-form select,
.tp-checkout-wrapper .tp-checkout-form-col .rw-form textarea,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form input[type="text"],
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form input[type="email"],
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form input[type="tel"],
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form select,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form textarea {
    width: 100%;
   /*  padding: 13px 16px; */
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1em;
    margin-top: 6px;
    background: #f6f8fa;
    color: #222;
    box-sizing: border-box;
    transition: border 0.2s;
    box-shadow: none;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form input:focus,
.tp-checkout-wrapper .tp-checkout-form-col .rw-form select:focus,
.tp-checkout-wrapper .tp-checkout-form-col .rw-form textarea:focus,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form input:focus,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form select:focus,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form textarea:focus {
    border-color: #111;
    outline: none;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form .rw-form-buttons,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form .rw-form-buttons {
    margin-top: 32px;
    text-align: right;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form .rw-next,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form .rw-next {
    background: #2563eb !important;
    color: #fff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 16px 0 !important;
    font-size: 1.15em !important;
    font-weight: 700 !important;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
    box-shadow: none !important;
    margin-top: 12px;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form .rw-next:hover,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form .rw-next:hover {
    background: #1e40af !important;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form .rw-prev,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form .rw-prev {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5em !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(30,41,59,0.10) !important;
    transition: background 0.2s, color 0.2s;
    padding: 0 !important;
}

.tp-checkout-wrapper .tp-checkout-form-col .rw-form .rw-prev:hover,
.tp-checkout-wrapper .tp-checkout-form-col .tp-checkout-rw-form .rw-prev:hover {
    background: #333 !important;
    color: #fff !important;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-resumen {
    background: transparent;
    color: #111;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-resumen h3 {
    font-weight: 500;
    color: #222e50;
    margin-bottom: 8px;
    display: flex
;
    flex-direction: column;
    gap: 4px;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-linea {
    display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0 2px 0;
        margin-bottom: 0;
        border-bottom: 1px dashed #d1d5db;
        font-size: 0.98em;
        min-height: 28px;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-linea:last-child {
    border-bottom: none;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-linea strong {
    color: #111;
    font-weight: 700;
    min-width: 120px;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-linea span {
    text-align: right;
    flex: 1;
    margin-left: 12px;
}

.tp-checkout-wrapper .tp-checkout-ticket-col .tp-ticket-extras {
    font-style: italic;
    color: #888;
    margin-top: 18px;
    font-size: 0.98em;
}

@media (max-width: 900px) {
    .tp-checkout-layout {
        flex-direction: column;
        max-width: 98vw;
    }
    .tp-checkout-form-col, .tp-checkout-ticket-col {
        max-width: 100%;
        border-radius: 32px;
        border-left: none;
        padding: 32px 16px;
    }
    .tp-checkout-ticket-col {
        margin-top: 24px;
    }
}

/* Forzar formulario sin fondo ni padding extra dentro del checkout */
.tp-checkout-form-col .rw-form {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}
