/* Estilos para el formulario de detalles del viaje */
.rw-form {
    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: 18px;
}
.rw-form label {
    font-weight: 500;
    color: #222e50;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rw-form input[type="text"],
.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;
}
.rw-form input:focus {
    border-color: #222;
    outline: none;
}
.rw-form button {
    padding: 12px 0;
    border-radius: 24px;
    background: #2563eb;
    color: #fff;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.rw-form button:hover {
    background: #1746a2;
}
.tp-detalles-layout {
    display: grid;
    grid-template-columns: 55% 45%;
   /*  width: 1000px; */
    margin: 16px;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(30,41,59,0.10);
    overflow: hidden;
}
.tp-detalles-form-col, .tp-detalles-ticket-col {
    min-width: 340px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.tp-ticket-resumen, .tp-detalles-form-col .rw-form {
    flex: 1 1 auto;
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}
.tp-ticket-resumen {
    background: var(--tp-ticket-bg, #fff);
    color: var(--tp-ticket-text, #111);
    border-radius: 0 32px 32px 0;
    box-shadow: none;
    padding: 28px 28px 28px 28px;
    font-size: 1em;
    margin-bottom: 0;
    border-left: 8px solid var(--tp-ticket-decorator, #111);
    max-width: 420px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tp-ticket-resumen::after {
    display: none !important;
}
.tp-ticket-resumen h3 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--tp-ticket-decorator, #111);
    text-align: left;
}
.tp-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-ticket-resumen .tp-ticket-linea strong {
    color: var(--tp-ticket-decorator, #111);
    font-weight: 500;
}
.tp-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-ticket-resumen .tp-ticket-iva {
    font-size: 0.97em;
    color: #64748b;
    text-align: right;
    margin-top: 2px;
}
.tp-ticket-resumen .tp-ticket-costo {
    font-size: 1em;
    color: #111;
    text-align: right;
    margin-top: 2px;
}
.tp-detalles-form-col .rw-form button {
    background: var(--tp-form-btn, #111) !important;
    color: #fff !important;
    border: none;
    border-radius: 24px;
    transition: background 0.2s;
}
.tp-detalles-form-col .rw-form button:hover {
    background: var(--tp-form-btn-hover, #333) !important;
}
.tp-servicios-extras-section {
    margin: 40px auto 0 auto;
    max-width: 1100px;
    padding: 0 20px;
}

.tp-resumen-servicios {
    margin-top: 10px;
    padding-top: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-resumen-servicios h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

.tp-servicio-resumen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.tp-total-extras {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    font-size: 1.05em;
}

.rw-form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.rw-form-buttons button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.rw-prev {
    background: #6b7280;
    color: white;
}

.rw-prev:hover {
    background: #4b5563;
}

.rw-next {
    background: #222;
    color: white;
}

.rw-next:hover {
    background: #1d4ed8;
}

.rw-form h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    text-align: center;
}

.rw-form textarea {
    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;
    resize: vertical;
    min-height: 80px;
}

.rw-form textarea:focus {
    border-color: #2563eb;
    outline: none;
}
