/* Por defecto mantiene padding/margin top normal */
#login-title {
  margin-top: 2rem;
}

/* En pantallas pequeñas: quitar espacio superior */
@media (max-width: 576px) {
  #login-title {
    margin-top: 0 !important;
  }
}

body {
  /* background: url('img/login-bg.png') no-repeat center center fixed; */
  background: rgba(255, 255, 255, 0.87);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 100vh;
  margin: 0;
}

.login-container {
  max-width: 400px;
  margin: 10vh auto;
  background-color: rgb(255, 255, 255);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.form-control {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.custom-btn {
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  width: 100%;
  color: #fff;
  background: linear-gradient(to right, #1c2b5a, #223c70);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
}

.custom-btn:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.bg-e2e {
  background: linear-gradient(to right, #223c70, #1c2b5a);
  color: white;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-header {
  font-size: 1.25rem;
  font-weight: 600;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.card {
  background-color: #f6f8fa !important;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* O MERGE CHANGES BRASIL TO CHILE */
#modal-country .modal-dialog {
  max-width: 520px;   /* puedes ajustar: 480px / 560px */
  width: 90%;
  margin: auto;
}
#modal-country.fade .modal-dialog {
  transform: translateY(-20px);
  transition: transform 0.25s ease-out;
}

#modal-country.show .modal-dialog {
  transform: translateY(0);
}
.modal-backdrop {
  background-color: #000;
  opacity: 0.4 !important;
}

.country-option {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.country-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* C MERGE CHANGES BRASIL TO CHILE */

/* Estilos que originalmente estaban en atributos style de index.php. */
#modal-country .modal-content {
border-radius: 1rem;
}

#modal-country .modal-header {
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}

#modal-country .country-options {
gap: 18px;
}

#modal-country .country-flag {
width: 130px;
border-radius: 12px;
box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
