/* Estilo Moderno y Amplio */
body {
    background-color: #f8f9fa;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.main-container {
    width: 90%; /* Más grande como pediste */
    max-width: 1200px;
    height: 85vh; /* Ocupa más alto de la pantalla */
    display: flex;
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Panel Izquierdo - Oscuro y Profesional */
.left-panel {
    width: 40%;
    background: #000 url('../../assets/img/img1prueba.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.left-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Capa más oscura */
    z-index: 1;
}

.left-panel > * {
    position: relative;
    z-index: 2;
}

.total-amount {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 30px 0;
    color: #fff;
}

/* Panel Derecho - Limpio y centrado en el Pago */
.right-panel {
    width: 60%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
}

.payment-method-box {
    padding: 20px;
    border: 2px solid #000;
    border-radius: 5px;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
}

.pay-button {
    background-color: #000;
    color: white;
    width: 100%;
    padding: 18px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 40px;
    cursor: pointer;
    transition: background 0.3s;
}

.pay-button:hover {
    background-color: #333;
}

/* Formulario de Tarjeta oculto por defecto */
#card-form {
    display: none; 
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #ddd;
    border-top: none;
    margin-bottom: 20px;
}

.card-input-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.card-input-group label {
    width: 30%;
    font-size: 0.9rem;
    color: #444;
}

.card-input-group input {
    width: 65%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilo para los items del carrito simulado */
.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}