/*h2.title {
    font-weight: 900;
    font-size: 64px;
    line-height: 64px;
    margin-bottom: 10px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0) !important;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(255, 255, 255, 1);
}

.id-color{
   color: white; 
}

.form-dark input[type=email], .form-dark input[type=password] {
    border-color:rgba(255,255,255,.2) !important;
    background:none !important;
    color: white !important;
    padding: 10px !important;
    margin-bottom: 0px !important;
    border-radius: 0px;
    font-weight: 500;
}

a.btn-custom, a.btn-custom:active, a.btn-custom:focus, a.btn-custom:visited, .btn-custom {
    color: white !important;
    background-color: #ff0000 !important;
    border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    padding: 12px 30px !important;
    min-width: 120px;
    outline: 0;
    font-weight: 500 !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}
.footer-social{
    background-color: black !important;
/*    border: solid;
    border-width: 1px;
    border-color: red;*/
}

/*@media (max-width: 860px ) {
    h2.title {
        font-weight: 900;
        font-size: 44px;
        line-height: 44px;
        margin-bottom: 10px;
        letter-spacing: 10px;
    }
}*/*/

/* ========================================
   LOGIN PAGE - AdminLTE Integration
   Colores: #851C1B (Primary) - #E9E8D7 (Secondary)
   ======================================== */

/* ========================================
   LOGIN PAGE - AdminLTE Integration
   Colores: #851C1B (Primary) - #E9E8D7 (Secondary)
   ======================================== */

/* Contenedor principal del login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #851C1B 0%, #5a1312 100%);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(233, 232, 215, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(233, 232, 215, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Contenedor de la tarjeta */
.login-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 450px;
}

/* Card principal */
.login-card {
  background: #E9E8D7;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  padding: 45px;
  animation: fadeInUp 0.6s ease-out;
  border: 2px solid rgba(133, 28, 27, 0.2);
}

.dark-mode .login-card {
  background: #1a1d20;
  border: 2px solid rgba(133, 28, 27, 0.5);
}

/* Header del login */
.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.logo-circle {
  width: 85px;
  height: 85px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #851C1B 0%, #a82220 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(133, 28, 27, 0.5);
  animation: pulse 2s ease-in-out infinite;
  border: 3px solid rgba(233, 232, 215, 0.3);
}

.logo-circle i {
  font-size: 38px;
  color: #E9E8D7;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: #851C1B;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.dark-mode .login-title {
  color: #E9E8D7;
}

.login-subtitle {
  color: #5a1312;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}

.dark-mode .login-subtitle {
  color: #b8b7a9;
}

/* Form styles */
.login-form {
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #851C1B;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.dark-mode .form-label {
  color: #E9E8D7;
}

.form-label i {
  margin-right: 6px;
  color: #851C1B;
}

.dark-mode .form-label i {
  color: #E9E8D7;
}

/* Input styles */
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #c5c3b0;
  border-radius: 10px;
  background: #ffffff;
  color: #2d3748;
  transition: all 0.3s ease;
  outline: none;
}

.dark-mode .form-input {
  background: rgba(43, 46, 50, 0.8);
  border-color: rgba(133, 28, 27, 0.3);
  color: #E9E8D7;
}

.form-input:focus {
  border-color: #851C1B;
  box-shadow: 0 0 0 4px rgba(133, 28, 27, 0.15);
  transform: translateY(-2px);
}

.dark-mode .form-input:focus {
  box-shadow: 0 0 0 4px rgba(133, 28, 27, 0.3);
}

.form-input::placeholder {
  color: #a0a092;
}

.dark-mode .form-input::placeholder {
  color: #6c757d;
}

/* Password wrapper */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-input {
  padding-right: 50px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #851C1B;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  outline: none;
  font-size: 16px;
}

.toggle-password:hover {
  color: #a82220;
  transform: translateY(-50%) scale(1.1);
}

.dark-mode .toggle-password {
  color: #E9E8D7;
}

.dark-mode .toggle-password:hover {
  color: #b8b7a9;
}

/* Validation feedback */
.valid-feedback,
.invalid-feedback {
  display: none;
  font-size: 13px;
  margin-top: 6px;
  padding-left: 4px;
  font-weight: 500;
}

.valid-feedback {
  color: #2d7a3e;
}

.invalid-feedback {
  color: #851C1B;
}

.was-validated .form-input:valid ~ .valid-feedback,
.form-input.is-valid ~ .valid-feedback {
  display: block;
}

.was-validated .form-input:invalid ~ .invalid-feedback,
.form-input.is-invalid ~ .invalid-feedback {
  display: block;
}

.was-validated .form-input:valid,
.form-input.is-valid {
  border-color: #2d7a3e;
}

.was-validated .form-input:invalid,
.form-input.is-invalid {
  border-color: #851C1B;
}

/* Form options (recordar y olvidaste) */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

/* Remember me checkbox */
.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  color: #5a1312;
  font-weight: 500;
}

.dark-mode .remember-me {
  color: #E9E8D7;
}

.remember-me input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #851C1B;
}

/* Forgot password link */
.forgot-password {
  color: #851C1B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #5a1312;
  text-decoration: underline;
}

.dark-mode .forgot-password {
  color: #E9E8D7;
}

.dark-mode .forgot-password:hover {
  color: #b8b7a9;
}

/* Botón de login - Clase específica para no afectar otros botones */
.btn-login-mav {
  width: 100%;
  padding: 16px !important;
  background: linear-gradient(135deg, #851C1B 0%, #a82220 100%) !important;
  color: #E9E8D7 !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(133, 28, 27, 0.5) !important;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-login-mav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(133, 28, 27, 0.6) !important;
  background: linear-gradient(135deg, #a82220 0%, #851C1B 100%) !important;
  color: #E9E8D7 !important;
}

.btn-login-mav:active {
  transform: translateY(0);
}

.btn-login-mav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(233, 232, 215, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-login-mav:hover::before {
  left: 100%;
}

.btn-login-mav .btn-icon {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.btn-login-mav:hover .btn-icon {
  transform: translateX(5px);
}

/* Toggle password button */
.toggle-password-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent !important;
  border-left: 2px solid #851C1B !important;
}

.toggle-password-btn:hover {
  background-color: rgba(133, 28, 27, 0.1) !important;
}

.toggle-password-btn span {
  color: #851C1B;
}

.dark-mode .toggle-password-btn span {
  color: #E9E8D7;
}

/* Footer del login */
.login-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid rgba(133, 28, 27, 0.2);
  font-size: 14px;
  color: #5a1312;
  font-weight: 500;
}

.dark-mode .login-footer {
  border-color: rgba(133, 28, 27, 0.4);
  color: #b8b7a9;
}

.login-footer a {
  color: #851C1B;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.login-footer a:hover {
  color: #a82220;
  text-decoration: underline;
}

.dark-mode .login-footer a {
  color: #E9E8D7;
}

.dark-mode .login-footer a:hover {
  color: #b8b7a9;
}

/* Decoraciones de fondo */
.decoration {
  position: absolute;
  border-radius: 50%;
  background: rgba(233, 232, 215, 0.08);
  animation: float 6s ease-in-out infinite;
}

.decoration-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.decoration-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -50px;
  animation-delay: 2s;
}

.decoration-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: -75px;
  animation-delay: 4s;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(20px) rotate(-5deg);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .login-card {
    padding: 30px 25px;
  }

  .login-title {
    font-size: 24px;
  }

  .logo-circle {
    width: 70px;
    height: 70px;
  }

  .logo-circle i {
    font-size: 32px;
  }

  .form-options {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Compatibilidad con AdminLTE dark mode */
.dark-mode .login-page {
  background: linear-gradient(135deg, #1a1d20 0%, #2b2f32 100%);
}

.dark-mode .login-page::before {
  background: 
    radial-gradient(circle at 20% 50%, rgba(133, 28, 27, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(133, 28, 27, 0.15) 0%, transparent 50%);
}