/* Variables CSS */
:root {
  --bg-light: #e3f2fd; /* blue lighten-5 */
  --bg-secondary: #bbdefb; /* blue lighten-4 */
  --primary-color: #2196f3; /* blue */
  --secondary-color: #1976d2; /* blue darken-2 */
  --text-dark: #0d47a1; /* blue darken-4 */
  --text-light: #ffffff; /* Blanco para contraste en botones */
}

/* Estilos Generales */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Estilos de Fondo */
#fondo-concesionaria {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/SUECAesfumada.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.img-container{
  margin-top: 3%;
}

/* Estilos de Formulario */
form {
  max-width: 60%;
  margin: 1rem auto;
  padding: 1.5rem;
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  background-color: var(--bg-secondary);
  font-size: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

/* Estilos de Campos de Texto */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"] {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Estilos de placeholders */
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
input[type="tel"]::placeholder,
select::placeholder {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

/* Estilos de Selects */
select {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#Condición\ Fiscal option[value=""][disabled],
#respon option[value=""][disabled] {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

/* Estilos de Botones */
button[type="submit"],
.boton-de-ir {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover,
.boton-de-ir:hover {
  background-color: var(--secondary-color);
}

button[type="reset"],
.btn.btn-secondary {
  background-color: #e0e0e0;
  color: var(--text-dark);
  padding: 1rem 2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

button[type="reset"]:hover,
.btn.btn-secondary:hover {
  background-color: #bdbdbd;
}

/* Estilos de Avisos y Textos */
.aviso-de-entrada {
  background-color: var(--bg-secondary);
  max-width: 80%;
  margin: 2rem auto;
  padding: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 200;
  font-style: initial;
  color: var(--text-dark);
}

.titulo-recordatorio {
  margin-left: 1rem;
  font-style: normal;
  font-weight: bold;
  font-size: 1.2rem;
}

.parrafo,
#parrafo {
  margin-left: 1rem;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.muchas-gracias {
  font-style: normal;
  font-weight: bold;
  text-align: right;
}

/* Estilos de Contenedores e Imágenes */
#boton-de-ir-form {
  display: flex;
  justify-content: center;
}

.img-container,
.recompensa {
  text-align: center;
}

.recompensa {
  margin-top: 2%;
}

.recompensa img {
  border-radius: 5%;
  object-fit: cover;
}

.resized-image {
  width: 25%;
}

#recompensa {
  display: flex;
  justify-content: right;
}

/* Media Query para pantallas más pequeñas */
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }

  form {
    max-width: 90%;
    padding: 1rem;
  }

  .aviso-de-entrada {
    max-width: 90%;
  }

  .resized-image {
    width: 50%;
  }
}

/* Estilo para el campo de texto deshabilitado */
input[type="text"][disabled] {
    background-color: #f0f0f0; /* Fondo gris para el campo deshabilitado */
}