/* ========================================
   SISTEMA DE LOGIN MODERNIZADO CON FOOTERS
   Reconstruido desde cero
   ======================================== */

/* VARIABLES DE DISEÑO BASADAS EN EL LOGO DEL CORAZÓN */
:root {
  --heart-blue: #4A90E2;        /* Azul del corazón */
  --heart-teal: #50B5A3;        /* Verde azulado */
  --heart-orange: #50b5d4;      /* Naranja cálido */
  --heart-coral: #eb6f63;       /* Coral/rojo suave */
  --heart-purple: #8E44AD;      /* Púrpura complementario */
  --white: #5fcaeb88;
  --light-gray: #f8fafc;
  --text-dark: #2f6397;
  --text-light: #69e8f167;
  
  /* Degradados modernos basados en el logo */
  --gradient-heart-primary: linear-gradient(135deg, #4A90E2 0%, #50B5A3 35%, #F5A623 70%, #E94B3C 100%);
  --gradient-heart-soft: linear-gradient(45deg, rgba(74, 144, 226, 0.8) 0%, rgba(80, 181, 163, 0.8) 50%, rgba(245, 166, 35, 0.8) 100%);
  --gradient-heart-glass: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(80, 181, 163, 0.15) 35%, rgba(245, 166, 35, 0.15) 70%, rgba(233, 75, 60, 0.15) 100%);
  
  --shadow-heart: 0 20px 40px rgba(74, 144, 226, 0.15);
  --shadow-heart-hover: 0 30px 60px rgba(80, 181, 163, 0.25);
}

/* RESET Y ESTRUCTURA BÁSICA SIN INTERFERENCIAS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ESTILOS BASE COMPLETAMENTE LIMPIOS */
html {
  height: 100%;
  background: transparent !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  overflow-x: hidden;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ESTRUCTURA DE LAYOUT CON FOOTERS - Ya configurado arriba */
/*
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
*/

/* HEADER SUPERIOR ORIGINAL - DESHABILITADO */
/*.header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(27, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top .logo {
  height: 45px;
  width: auto;
  filter: brightness(1.1);
  margin-right: 15px;
  z-index: 10000;
  position: relative;
}

.header-top .company-info {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 10000;
  position: relative;
}*/

/* ÁREA PRINCIPAL COMPLETAMENTE CENTRADA */
.main-content {
  flex: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important; /* Sin padding, completamente centrado */
  min-height: 100vh !important; /* Altura completa de la pantalla */
  position: relative !important;
  z-index: 10;
  background: none !important; /* Sin fondo adicional */
  width: 100% !important;
  height: 100vh !important;
}

/* OCULTAR CUALQUIER ELEMENTO MORADO O MENU */
body > div:first-of-type:not(.header-top),
body > nav,
body > header:not(.header-top),
.purple,
.morado,
[style*="purple"],
[style*="morado"],
[class*="purple"],
[class*="morado"],
.top-bar,
.topbar,
.navbar-fixed-top,
.navbar-top {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* FOOTER INFERIOR ANTERIOR - DESHABILITADO */
/*.footer-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 21px;
  background: rgba(27, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  font-size: 0.65rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-bottom .footer-content a {
  color: #7FB3D3;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom .footer-content a:hover {
  color: white;
  text-shadow: 0 0 10px rgba(127, 179, 211, 0.5);
}

.footer-bottom .footer-content i {
  margin-right: 5px;
  color: #7FB3D3;
}*/

/* ========================================
   FONDO DE IMAGEN COMPLETAMENTE NUEVO
   Sin opacidad ni máscaras
   ======================================== */

/* RESET COMPLETO DEL FONDO */
body, html {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* IMAGEN DE FONDO AJUSTADA PARA HEADER Y FOOTER NUEVO */
.imagen_fondo_login {
  position: fixed !important;
  top: 80px !important; /* Espacio para el header superior de 80px */
  left: 0 !important;
  right: 0 !important;
  bottom: 64px !important; /* Espacio para el footer inferior nuevo de 64px */
  width: 100vw !important;
  height: calc(100vh - 144px) !important; /* Ajustado para header (80px) + footer (64px) */
  background-image: url('../imagenes/fondo.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* ELIMINAR CUALQUIER PSEUDO-ELEMENTO QUE CAUSE OPACIDAD */
.imagen_fondo_login::before,
.imagen_fondo_login::after,
body::before,
body::after,
html::before,
html::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* FORZAR TRANSPARENCIA EN ELEMENTOS SUPERPUESTOS */
.main-content,
.content,
.container,
.container-fluid {
  background: none !important;
  background-color: transparent !important;
  opacity: 1 !important;
}

/* ELIMINAR GRADIENTES Y OVERLAYS */
*[class*="gradient"],
*[class*="overlay"],
*[style*="background"],
*[style*="opacity"]:not(.fcontacto):not(.form-control):not(.btn) {
  background: none !important;
  opacity: 1 !important;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* FORMULARIO DE LOGIN CON TRANSPARENCIA MEJORADA */
.login-container {
  position: relative;
  z-index: 100;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 40px 35px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.login-container:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 35px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* TÍTULO DEL FORMULARIO CON DEGRADADO */
.login-title {
  background: var(--gradient-heart-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: none;
  letter-spacing: 0.5px;
  position: relative;
}

.login-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-heart-primary);
  border-radius: 2px;
}

/* CAMPOS DE ENTRADA CON BORDES DEGRADADOS */
.form-control {
  width: 100%;
  height: 15vh;
  min-height: 60px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid transparent;
  border-radius: 15px;
  background: linear-gradient(white, white) padding-box, var(--gradient-heart-soft) border-box;
  color: var(--text-dark);
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-sizing: border-box;
  position: relative;
}

.form-control::placeholder {
  background: var(--gradient-heart-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)) padding-box, var(--gradient-heart-primary) border-box;
  box-shadow: 
    0 0 25px rgba(74, 144, 226, 0.3),
    0 0 50px rgba(80, 181, 163, 0.2);
  transform: translateY(-2px);
}

/* BOTÓN CON DEGRADADO ESPECTACULAR */
.btn-primary {
  width: 100%;
  padding: 18px;
  background: var(--gradient-heart-primary);
  border: none;
  border-radius: 15px;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(74, 144, 226, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 25px 50px rgba(80, 181, 163, 0.4),
    0 10px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #E94B3C 0%, #F5A623 25%, #50B5A3 50%, #4A90E2 75%, #8E44AD 100%);
}

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

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

/* RESPONSIVE MEJORADO PARA FONDO */
@media (max-width: 768px) {
    .imagen_fondo_login {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .imagen_fondo_login {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

.imagen_fondo_login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.7;
  z-index: 2;
}

.imagen_fondo_login::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(127, 179, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(44, 120, 115, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: 3;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* CENTRADO ABSOLUTO DEL FORMULARIO */
.content {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: auto !important;
  height: auto !important;
  z-index: 4;
  padding: 20px;
  box-sizing: border-box;
}

/* FORMULARIO CENTRADO ABSOLUTAMENTE */
.ibody {
  position: relative !important;
  width: 400px !important;
  max-width: 90vw !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* AJUSTES SUAVES PARA FOOTER */
.footer, [class*="footer"] {
  text-align: center !important;
}

.footer * {
  text-align: center !important;
}

/* CENTRADO FORZADO PARA CUALQUIER CONTENEDOR */
/* COMENTADO PARA NO INTERFERIR CON EL FORMULARIO
.container, .container-fluid, [class*="container"] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: auto !important;
  height: auto !important;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
}
*/

div[class*="col-"] {
  position: static !important;
  transform: none !important;
}

/* CONTENEDOR DEL FORMULARIO PERFECTAMENTE CENTRADO */
.fcontacto {
  background: transparent !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 40px 35px;
  max-width: 420px !important;
  width: 90% !important;
  
  /* CENTRADO ABSOLUTO Y FORZADO */
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  
  /* RESPALDO DE CENTRADO */
  margin: 0 auto !important;
  
  box-shadow: 
    0 25px 50px rgba(27, 54, 93, 0.15),
    0 15px 30px rgba(27, 54, 93, 0.1),
    0 5px 15px rgba(27, 54, 93, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  overflow: hidden;
  z-index: 5;
}

/* CAPA EXTERNA DEL EFECTO CEBOLLA */
.fcontacto::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  border-radius: 27px;
  z-index: -1;
  opacity: 0.7;
}

/* CAPA INTERNA DEL EFECTO CEBOLLA */
.fcontacto::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  z-index: -1;
  backdrop-filter: blur(5px);
}

.fcontacto::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s ease;
}

/* EFECTO HOVER ::before MOVIMIENTO DESACTIVADO */
.fcontacto:hover::before {
  /* left: 100%; - COMENTADO para evitar movimiento */
  left: -2px; /* Posición fija */
}

/* LOGO Y TÍTULO */
.logito {
  margin-bottom: 25px;
  position: relative;
}

.editaxe_interactivo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.editaxe_interactivo::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

/* CAMPOS DE ENTRADA CON TRANSPARENCIA MEJORADA */
.form-control {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 14px 20px;
  font-size: 15px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  color: var(--text-dark);
  font-weight: 500;
  box-shadow: 
    0 4px 15px rgba(27, 54, 93, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.form-control:focus {
  outline: none;
  border-color: rgba(93, 124, 152, 0.6);
  box-shadow: 
    0 0 20px rgba(93, 124, 152, 0.3),
    0 4px 15px rgba(27, 54, 93, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--text-light);
  font-weight: 400;
  opacity: 0.7;
}

/* BOTÓN PRINCIPAL MODERNIZADO */
.btn-primary {
  background: linear-gradient(135deg, #2C7873 0%, #5a9d96 100%);
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(44, 120, 115, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(44, 120, 115, 0.4);
  background: linear-gradient(135deg, #237873 0%, #4a8d86 100%);
}

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

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

/* OCULTAR TEXTO "EDITAXE SISTEMAS" */
.jumbotron {
  display: none !important;
}

.jumbotron h1 {
  display: none !important;
}

/* MENSAJES DE ERROR MODERNOS */
font[color="red"] {
  color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  margin-top: 15px;
  display: block;
  font-weight: 500;
  text-shadow: none;
}

/* ANIMACIONES DE ENTRADA */
.fcontacto {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* RESPONSIVE DESIGN FUNCIONAL */
@media (max-width: 768px) {
  .content {
    padding: 15px;
  }
  
  .fcontacto {
    padding: 30px 25px;
    max-width: 90%;
  }
  
  .editaxe_interactivo {
    font-size: 1.8rem;
  }
  
  .jumbotron h1 {
    font-size: 1.4rem;
  }
  
  .form-control {
    padding: 12px 16px;
    font-size: 15px;
  }
  
  .btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 10px;
  }
  
  .fcontacto {
    padding: 25px 20px;
    max-width: 95%;
  }
  
  .editaxe_interactivo {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
  
  .jumbotron {
    margin-bottom: 15px;
    padding: 8px;
  }
  
  .jumbotron h1 {
    font-size: 1.2rem;
  }
}

@media (max-width: 320px) {
  .fcontacto {
    padding: 20px 15px;
  }
  
  .form-control {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* COMPATIBILIDAD CON ESTILOS EXISTENTES */
.content_left {
  left: 0;
  position: center;
  right: 0%;
  z-index: 2;
}

.content_right {
  left: 0;
  position: fixed;
  right: 0%;
  z-index: 2;
}

.left_cont {
  padding-left: 0%;
  padding-top: 1%;
  margin-left: 1%;
  float: left;
  width: 40%;
}

.right_cont {
  padding-left: 49%;
  padding-top: 1%;
  margin-left: 1%;
  float: center;
  width: 60%;
}

/* ======================================
   SISTEMA COMPLETO RECONSTRUIDO
   ====================================== */

/* OCULTAMIENTO COMPLETO DE ELEMENTOS PROBLEMÁTICOS */
.jumbotron,
.jumbotron h1,
.desarrollador_emp,
#menu,
.menu,
.navbar,
.nav,
.navigation,
[class*="menu"],
[class*="nav"],
[id*="menu"],
[id*="nav"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* MOSTRAR TÍTULO DEL FORMULARIO */
.editaxe_interactivo {
  display: block !important;
  color: #2f6397 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(47, 99, 151, 0.2) !important;
  letter-spacing: 0.5px !important;
}

/* COMPATIBILIDAD CON CLASES EXISTENTES */
.content {
  position: static !important;
  height: auto !important;
  width: auto !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  display: block !important;
}

.ibody {
  position: static !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fcontacto {
  background: var(--gradient-heart-glass) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important; /* Border normal en lugar de border-image */
  /* border-image: var(--gradient-heart-primary) 1 !important; - QUITADO para eliminar línea azul atravesada */
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 25px !important;
  padding: 40px 35px !important;
  width: 100% !important;
  max-width: 450px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 100 !important;
  box-shadow: 
    var(--shadow-heart),
    0 0 30px rgba(74, 144, 226, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  overflow: hidden !important;
}

/* EFECTO HOVER DESACTIVADO - Para evitar movimiento del formulario */
.fcontacto:hover {
  /* transform: translateY(-8px) scale(1.02) !important; - COMENTADO */
  transform: none !important; /* Sin movimiento */
  box-shadow: 
    var(--shadow-heart),  /* Sombra normal, no hover */
    0 0 30px rgba(80, 181, 163, 0.1), /* Reducida */
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  /* border-image: linear-gradient(45deg, #E94B3C 0%, #F5A623 25%, #50B5A3 50%, #4A90E2 75%, #8E44AD 100%) 1 !important; - COMENTADO */
}

/* EFECTO DEGRADADO ANIMADO DE FONDO */
.fcontacto::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-heart-primary);
  border-radius: 25px;
  z-index: -1;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

/* EFECTO HOVER ::before DESACTIVADO */
.fcontacto:hover::before {
  /* opacity: 0.5; - COMENTADO */
  /* animation: gradientRotate 3s ease infinite; - COMENTADO */
  opacity: 0.3; /* Opacidad fija sin animación */
}

@keyframes gradientRotate {
  0% { 
    background: linear-gradient(0deg, #4A90E2, #50B5A3, #F5A623, #E94B3C);
  }
  25% { 
    background: linear-gradient(90deg, #50B5A3, #F5A623, #E94B3C, #4A90E2);
  }
  50% { 
    background: linear-gradient(180deg, #F5A623, #E94B3C, #4A90E2, #50B5A3);
  }
  75% { 
    background: linear-gradient(270deg, #E94B3C, #4A90E2, #50B5A3, #F5A623);
  }
  100% { 
    background: linear-gradient(360deg, #4A90E2, #50B5A3, #F5A623, #E94B3C);
  }
}

.logito {
  text-align: center !important;
  margin-bottom: 25px !important;
  color: #2f6397 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(47, 99, 151, 0.2) !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
}

.logito::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2f6397;
  border-radius: 2px;
}

/* AJUSTES PARA CONTENEDORES BOOTSTRAP */
.container,
.container-fluid {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.divPanel,
.row-fluid,
.span12,
#divMain {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========================================
   FOOTER INFERIOR RECONSTRUIDO COMPLETAMENTE
   Texto visible en el borde superior
   ======================================== */

/* FOOTER MODERNO CON TEXTO VISIBLE */
.footerArea,
#divFooter {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 50px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  z-index: 1001 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 5px !important;
  border: none !important;
}

/* LÍNEA SUPERIOR DECORATIVA - ELIMINADA PARA QUITAR LÍNEA AZUL ATRAVESADA */
/*
.footerArea::before,
#divFooter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(47, 99, 151, 0.8) 25%, 
    rgba(47, 99, 151, 1) 50%, 
    rgba(47, 99, 151, 0.8) 75%, 
    transparent 100%);
  z-index: 1;
}
*/

/* CONTENEDOR DEL TEXTO CON FONDO SEMITRANSPARENTE */
.copyright {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 25px !important;
  color: #2f6397 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-shadow: 
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  border: 2px solid rgba(47, 99, 151, 0.3) !important;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  margin: 0 20px !important;
  max-width: calc(100vw - 40px) !important;
  text-align: center !important;
}

/* ENLACES DEL FOOTER CON ESTILO MODERNO */
.copyright a {
  color: #2f6397 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  font-weight: 600 !important;
  position: relative !important;
}

.copyright a:hover {
  color: #4A90E2 !important;
  text-shadow: 
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 15px rgba(74, 144, 226, 0.6) !important;
  transform: translateY(-1px) !important;
}

.copyright a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4A90E2, #50B5A3);
  transition: width 0.3s ease;
}

.copyright a:hover::after {
  width: 100%;
}

/* ICONOS DEL FOOTER */
.copyright i {
  margin-right: 5px !important;
  color: #2f6397 !important;
  font-size: 0.8rem !important;
  opacity: 0.8 !important;
}

.copyright a:hover i {
  color: #4A90E2 !important;
  opacity: 1 !important;
}

.copyright i {
  margin-right: 5px !important;
  color: #7FB3D3 !important;
}

/* RESPONSIVIDAD CON FOOTER VISIBLE */
@media (max-width: 768px) {
  .header-top,
  .footer-bottom,
  .footerArea {
    height: 40px !important;
  }
  
  .main-content {
    padding: 80px 15px 60px 15px !important;
  }
  
  .login-container,
  .fcontacto {
    padding: 30px 25px !important;
    max-width: 350px !important;
  }
  
  .footer-content,
  .copyright {
    font-size: 0.7rem !important;
    gap: 15px !important;
    padding: 6px 15px !important;
    margin: 0 10px !important;
  }
  
  .login-title,
  .logito {
    font-size: 1.5rem !important;
  }
  
  /* Ajustar imagen de fondo para móviles */
  .imagen_fondo_login {
    bottom: 40px !important;
    height: calc(100vh - 110px) !important;
  }
}

@media (max-width: 480px) {
  .copyright {
    font-size: 0.6rem !important;
    gap: 10px !important;
    padding: 5px 10px !important;
    margin: 0 5px !important;
    flex-wrap: wrap !important;
  }
  
  .copyright a {
    white-space: nowrap !important;
  }
}

/* ===============================================
   LIMPIEZA MASIVA - FONDO SIN OPACIDAD
   =============================================== */

/* FORZAR IMAGEN DE FONDO CRYSTAL CLEAR - FOOTER VISIBLE */
.imagen_fondo_login {
  position: fixed !important;
  top: 70px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 50px !important;
  width: 100vw !important;
  height: calc(100vh - 120px) !important;
  background: url('../imagenes/fondo.png') no-repeat center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
  display: block !important;
  z-index: 1 !important;
}

/* ELIMINAR TODA OPACIDAD RESIDUAL */
* {
  opacity: 1 !important;
}

.fcontacto,
.form-control,
.btn-primary,
.header-top,
.footerArea,
#divFooter {
  opacity: 1 !important;
}

/* BACKGROUND TRANSPARENTE TOTAL */
body,
html,
.main-content,
.content,
.container,
.container-fluid,
.ibody,
.divPanel,
.row-fluid,
.span12,
#divMain {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* ELIMINAR PSEUDO-ELEMENTOS CON OPACIDAD */
*::before,
*::after {
  opacity: 0 !important;
  display: none !important;
  content: none !important;
  visibility: hidden !important;
}

/* EXCEPCIONES PARA FORMULARIO */
.fcontacto::before,
.fcontacto::after {
  display: block !important;
  opacity: 1 !important;
}

/* DESACTIVAR ANIMACIONES QUE AFECTEN OPACIDAD */
* {
  animation: none !important;
  transition: none !important;
}

/* ========================================
   CENTRADO SUPER ROBUSTO DEL FORMULARIO
   ======================================== */

/* Asegurar que el formulario esté perfectamente centrado */
.fcontacto {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
  margin: 0 !important;
}

/* Contenedor padre centrado */
div:has(.fcontacto),
.main-content:has(.fcontacto),
.container:has(.fcontacto) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 100% !important;
  height: 100vh !important;
}

/* Media queries para centrado responsivo */
@media (max-width: 768px) {
  .fcontacto {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 85% !important;
    max-width: 350px !important;
  }
}

@media (max-width: 480px) {
  .fcontacto {
    width: 90% !important;
    max-width: 320px !important;
    padding: 30px 25px !important;
  }
}

/* ========================================
   DESACTIVAR TODOS LOS EFECTOS DE MOVIMIENTO
   ======================================== */

/* Quitar cualquier efecto de movimiento al formulario */
.fcontacto,
.fcontacto:hover,
.fcontacto:focus,
.fcontacto:active {
  transform: translate(-50%, -50%) !important; /* Solo el centrado, nada más */
  transition: none !important; /* Sin transiciones */
  animation: none !important; /* Sin animaciones */
}

/* Quitar efectos a pseudo-elementos */
.fcontacto::before,
.fcontacto::after,
.fcontacto:hover::before,
.fcontacto:hover::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Formulario estático - sin movimiento */
.fcontacto * {
  transition: none !important;
  animation: none !important;
}

/* MARCA DEL LOGIN: CENTRO */
.fcontacto .logito .editaxe_interactivo {
  color: #7b1e2b !important;
  font-family: Verdana, Geneva, sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .55) !important;
}
