body {
    background-color: antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    flex-direction: column;
    background-size: 50% auto;      /* Cada imagen ocupa la mitad del ancho */
    background-repeat: repeat-x;  /* Solo se repite horizontalmente */
    background-position: center 60px;  /*entra las imágenes */
    
}

.container {
    width: 420px;
    min-height: 300px;
    background: #fff8f0;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 32px 24px;
    gap: 18px;
    margin-top: 0;
}

h1 {
    width: 100%;
    opacity: 0.8;
    height: 60px;
    background-color: #351f0e;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-family: cursive, sans-serif;
    margin: 0 0 24px 0;
    border-radius: 18px 18px 0 0;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #6458d1;
    
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #e4ab65;
    width: 100%;
}

input, select, button {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e0c3a0;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    width: 80%; /* <-- Añade esta línea */
}
button{
    width: 89px; /* <-- Añade esta línea */
    border-radius: 10px;
}


input:focus, select:focus {
    border: 1.5px solid #b86b2b;
}

button {
    background: #b86b2b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

button:hover {
    background: #a05a23;
}
#modal{
    display: none;
}

#alerta{
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffefc1;
    color: #351f0e;
    padding: 18px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    font-size: 1.1rem;
    z-index: 9999;
    border: 2px solid #fffb00;
    display: none;
}
#buscarMesa {
    margin: 18px 0;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1.5px solid #b86b2b;
    width: 220px;
    font-size: 1rem;
    outline: none;
}
#botonConfirmar{
    display: none;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #b86b2b;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
    padding: 8px 16px;
    border-radius: 8px;
    gap: 10px;
}
#registrar{
    cursor: pointer;
    box-shadow: inset 2px 2px 5px #b86b2b;
}

.mesa {
    height: 100px;
    width: 100px;
    background: #ffe4c4;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 2px 2px 8px #e0c3a0;
}

.divCard {
    width: 320px;
    border: 1px solid #e0c3a0;
    border-radius: 10px;
    box-shadow: 3px 3px 12px #e0c3a0;
    background: #fff;
    padding: 16px;
    margin: 10px 0;
}

#mesas {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

label {
    font-weight: 500;
    color: #b86b2b;
    margin-bottom: 4px;
}

::-webkit-input-placeholder { color: #c2a98a; }
::-moz-placeholder { color: #c2a98a; }
:-ms-input-placeholder { color: #c2a98a; }
::placeholder { color: #c2a98a; }