﻿/* Encabezado */
.pedido-header {
    width: 100%; /* 🔥 ocupa todo el ancho de la ventana */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    background: rgb(249, 220, 214);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100; /* Aseguramos que esté arriba */
}

/* Estilos para el botón principal */
.botonAceptar {
    background: #bb9c68;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .botonGenerar:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        background: #bb9c6894 !important;
    }

.botonCancelar {
    background: white;
    color: #bb9c68;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .botonGenerar:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        background: #bb9c6894 !important;
    }

.btn-volver {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #404040;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

    .btn-volver:hover {
        background: #f5f5f5;
    }

.pedido-titulo {
    margin: 0 auto;
    font-size: 1rem;
    color: #404040;
}

/*------------- */

.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.input-field-left {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    text-align: left;
    transition: border-color 0.3s ease;
}

    .input-field:focus {
        outline: none;
        border-color: #bb9c68;
    }

    .input-field-left:focus {
        outline: none;
        border-color: #bb9c68;
    }

@media (max-width: 768px) {
    .input-field {
        height: 7vh !important;
        border-radius: 12px !important;
        font-size: 16px !important;
    }

    .input-field-left {
        height: 7vh !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        padding: 8px;
    }

    .input-field-nom-producto {
        text-align: center !important;
    }
}

.required {
    color: red;
}

/* Estilo cuando el checkbox */
.checkbox-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid white;
    box-shadow: 0px 0px 0px 1px #bb9c68;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    outline: none;
    background-color: white;
    transition: background-color 0.3s ease;
}

    .checkbox-custom:checked {
        background-color: #bb9c68;
    }