/* === General Styles === */
body {
  background-color: #ecf0f3;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === Login Box === */
.login-box {
  background: #ecf0f3;
  border-radius: 20px;
  padding: 50px 30px;
  max-width: 350px;
  width: 100%;
  text-align: center;
  margin: 40px auto;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.25),
              -10px -10px 20px rgba(255, 255, 255, 0.9);
}

/* === Oval Logo Container === */
.oval-container {
  background: #ecf0f3;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1),
              -3px -3px 8px rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 10px 20px;
  margin-bottom: 30px;
  display: inline-block;
}

.oval-container h1 {
  font-size: 2rem;
  color: #557996;
  margin: 0;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8),
               -1px -1px 0 rgba(0, 0, 0, 0.1);
}

/* === Subtitle === */
h6 {
  color: #4f4f4f;
  margin: 10px 0 20px;
  text-align: left;
  margin-bottom: -10px;
}

/* === Form Controls === */
.form-control {
  border: none;
  border-radius: 20px;
  padding: 12px 20px;
  font-size: 1rem;
  background: #ecf0f3;
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1),
              inset -4px -4px 8px rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1),
              inset -2px -2px 5px rgba(255, 255, 255, 0.5);
}

/* === Button Styles === */
button.btn-primarys {
  background: #557996;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 1rem;
  box-shadow: 3px 3px 8px rgba(255, 255, 255, 0.7),
              -3px -3px 8px rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

button.btn-primarys:hover {
  background: #557996;
  color: #ffffff;
  transform: scale(1.05);
}

/* === Links === */
a {
  color: #3498db;
  font-size: 0.9rem;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Input Group (Iconos en campos de entrada) === */
.input-group {
  position: relative;
}

.input-group .input-group-append {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.input-group .input-group-text {
  border-radius: 0.375rem 0 0 0.375rem;
}

.input-group .form-control {
  border-radius: 0.375rem;
  padding-right: 40px; /* espacio para el icono */
}

.input-group .input-group-append i {
  cursor: pointer;
  color: #777;
  background: transparent; /* sin fondo */
  padding: 0; /* sin padding */
  border-radius: 0; /* sin borde redondeado */
  box-shadow: none; /* sin sombra */
  transition: color 0.2s ease-in-out;
}

.input-group .input-group-append i:hover {
  color: #4a6b83;
  transform: none; /* sin efecto de escala */
}

/* === Note === */
.note {
  font-size: 15px;
  color: #555;
  padding: 5px 0;
  margin-top: 10px;
  text-align: left;
  margin-bottom: 0;
}

.serteapp-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.serteapp-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* === Toastr Alerts === */
.toast-middle-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
}

.toast-error {
  background-color: rgba(220, 53, 70, 0.767) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.toast-error.toast {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* === Ajustes del Login === */
.login-box {
  width: 360px;
  margin: 40px auto;
  padding: 20px 15px;
}

/* === Checkbox Neomórfico Azul con Flecha Blanca === */
.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #ecf0f3;
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.15),
    inset -3px -3px 6px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
  position: relative;
  top: 3px;
}

/* === Estado seleccionado (check) === */
.form-check-input:checked {
  background-color: #4a6b83; /* azul sólido */
  box-shadow: none; /* sin brillo blanco en bordes */
}

/* === Flecha blanca al marcar === */
.form-check-input:checked::after {
  content: "✔";
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

/* === Hover (efecto sutil) === */
.form-check-input:hover {
  transform: scale(1.08);
  box-shadow:
    inset 2px 2px 4px rgba(0, 0, 0, 0.15),
    inset -2px -2px 4px rgba(255, 255, 255, 0.9);
}

/* === Label (texto) === */
.form-check-label {
  color: #4f4f4f;
  font-size: 15px;
  user-select: none;
  cursor: pointer;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
}


.form-check {
  margin-top: -5px;
  text-align: left;
}

/* === Móviles === */
@media (max-width: 600px) {
  html, body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login-box {
    width: 90%;
    max-width: 400px;
    margin-top: -50px;
  }

  .form-control,
  button.btn-primarys,
  .google-btn {
    width: 100%;
    margin-bottom: 15px;
  }
}

/* === EFECTO NEUMÓRFICO DESTACADO === */
body {
  background: linear-gradient(145deg, #e6e9ef, #ffffff);
}

.login-box {
  background: #ecf0f3;
  border-radius: 25px;
  padding: 50px 35px;
  box-shadow:
    15px 15px 30px rgba(0, 0, 0, 0.25),
    -15px -15px 30px rgba(255, 255, 255, 0.9),
    inset 3px 3px 5px rgba(255, 255, 255, 0.4),
    inset -3px -3px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.login-box:hover {
  transform: none;
  box-shadow:
    15px 15px 30px rgba(0, 0, 0, 0.25),
    -15px -15px 30px rgba(255, 255, 255, 0.9),
    inset 3px 3px 5px rgba(255, 255, 255, 0.4),
    inset -3px -3px 5px rgba(0, 0, 0, 0.1);
}

.form-control {
  background: #ecf0f3;
  border-radius: 25px;
  padding: 14px 20px;
  box-shadow:
    inset 6px 6px 10px rgba(0, 0, 0, 0.15),
    inset -6px -6px 10px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.15),
    inset -2px -2px 5px rgba(255, 255, 255, 0.9);
}

button.btn-primarys {
  background: linear-gradient(145deg, #5d89a6, #4a6b83);
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.25),
    -6px -6px 12px rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  transition: all 0.3s ease;
}

button.btn-primarys:hover {
  background: linear-gradient(145deg, #4a6b83, #3f5c72);
  transform: scale(1.05);
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.25),
    -8px -8px 16px rgba(255, 255, 255, 1);
}

.input-group-append i {
  color: #777;
  background: #ecf0f3;
  padding: 8px;
  border-radius: 50%;
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.15),
    -2px -2px 5px rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease-in-out;
}

.input-group-append i:hover {
  color: #4a6b83;
  transform: scale(1.1);
}

.oval-container {
  background: #ecf0f3;
  box-shadow:
    5px 5px 12px rgba(0, 0, 0, 0.2),
    -5px -5px 12px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.oval-container:hover {
  transform: none !important;
  box-shadow:
    5px 5px 12px rgba(0, 0, 0, 0.2),
    -5px -5px 12px rgba(255, 255, 255, 0.9);
}

.serteapp-link,
.serteapp-link:hover {
  text-decoration: none;
  color: inherit; 
  opacity: 1 !important; 
  cursor: default;
}
