/* /assets/css/checkout.css */

/* Estilos generales para la página de checkout */
.checkout-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a202c;
}

.checkout-flex {
    display: flex;
    gap: 2rem;
}

.order-summary, .checkout-form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.order-summary-title, .checkout-form-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

/* Resumen del pedido */
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-item-text {
    color: #718096;
}

.summary-item-price {
    font-weight: bold;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

.summary-total-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.summary-total-price {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Formulario de checkout */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}

.form-input:focus {
    border-color: #3182ce;
}

.pickup-point-option {
    background-color: #edf2f7;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.pickup-point-option:hover {
    background-color: #e2e8f0;
}

.pickup-point-option-text {
    font-size: 1rem;
    color: #4a5568;
}

.pickup-point-option input[type="radio"] {
    margin-right: 0.5rem;
}

.confirm-button {
    width: 100%;
    background-color: #38a169;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.confirm-button:hover {
    background-color: #2f855a;
}

/* Media Queries para responsividad */
@media (min-width: 768px) {
    .checkout-flex {
        flex-direction: row;
    }
    .order-summary, .checkout-form-container {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .checkout-flex {
        flex-direction: column;
    }
}
