/* promomiller_root/css/style.css */

body {
    background-color: #1b2544; /* Dark blue - UPDATED */
    color: #ffffff;
    font-family: 'Frederick-BoldCondensed', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Prevent scroll if modals are full screen */
}

#app-container {
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Home Form Styles */
.home-form h1 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #1b2544; /* Text color should contrast with white background */
    font-size: 1.1em;
    box-sizing: border-box;
}

button.submit-button {
    background-color: #c89128; /* Golden yellow - UPDATED */
    color: #ffffff; /* Adjusted for better contrast on new golden color */
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.5em;
    font-family: 'Frederick-BoldCondensed', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

button.submit-button:hover {
    background-color: #b38221; /* Slightly darker gold on hover */
}

.miller-lite-cans {
    margin-top: 40px;
    width: 80%; /* Adjust size */
    max-width: 250px;
    height: auto;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #1b2544; /* Background matches app - UPDATED */
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.modal-content {
    background-color: #1b2544; /* Match background for seamless look - UPDATED */
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
}

.modal-image {
    max-width: 90%;
    height: auto;
    margin-bottom: 20px;
}

.modal-text {
    color: #ffffff;
    font-size: 2.2em;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-subtext {
    color: #ffffff;
    font-size: 1.5em;
    line-height: 1.2;
}

.modal-close-button {
    background-color: #c89128; /* Golden yellow - UPDATED */
    color: #ffffff; /* Adjusted for better contrast */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-family: 'Frederick-BoldCondensed', sans-serif;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.modal-close-button:hover {
    background-color: #b38221; /* Slightly darker gold on hover */
}

.home-form input,
.home-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px; /* Asegura espacio entre campos */
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px; /* Bordes redondeados sutiles */
    font-size: 16px;
    font-family: Arial, sans-serif; /* Una fuente legible para el texto ingresado */
    box-sizing: border-box;
    
    /* Elimina la apariencia nativa del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Añadir una flecha personalizada al selector de ciudad */
.home-form select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
    padding-right: 40px; /* Espacio para que el texto no se monte sobre la flecha */
}

/* Opcional: Estilo para la primera opción "Selecciona tu ciudad" */
.home-form select:required:invalid {
    color: #6c757d;
}