@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); 

/* Agrega esto para el deslizamiento suave */
html {
  scroll-behavior: smooth;
  /* Esto evita que la barra de navegación fija tape la información al bajar */
  scroll-padding-top: 100px; 
}
:root {
--color-wigoo: #e84393;
  --light-lilac: #b49bfb;
  --accent-lilac: #e84393;
  --white: #ffffff;
  --dark-text: #4a4a68;
  --bg-gradient: linear-gradient(135deg, #f4f0ff 0%, #fdecf4 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow-lilac: rgba(155, 126, 248, 0.25);
  --danger-color: #ee5253;
--succes-color:#1dd1a1;

--light-lilac-active: #9575f6;
 
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    margin: 0;

}

body {
    display: flex;
    justify-content: center; /* centra horizontal */
    align-items: center;     /* centra vertical */
    background: #fef5ff
;
font-family: 'Ubuntu', sans-serif;

}
 

h1, h2, h3 {
  font-weight: 600; /* SemiBold */
}

small{
padding-left:15px;
}
        /* =========================================
           CONTENEDOR GLASSMORPHISM 
        ========================================= */
        .login-wrapper {
            background:white;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-radius: 30px;
            box-shadow: 0 4px 20px rgba(155, 126, 248, 0.49);
            padding: 40px;
            width: 100%;
            max-width: 550px; 
            box-sizing: border-box;
            text-align: center;
            position: relative;
        }
   .login-wrapper-login{

            max-width: 450px;
      
        }
 
        /* =========================================
           BOTÃ“N VOLVER
        ========================================= */
      
      
        /* =========================================
           LOGO Y TEXTOS
        ========================================= */
        .brand-logo-container {
            display: flex;
            justify-content: center;
            margin-top: 15px;
            margin-bottom: 20px;
        }

        .brand-logo {
            height: 45px;
            border-radius: 20px;
        }

   
        .main-title {
            font-size: 1.8rem;
            line-height: 1.2;
            color: var(--dark-text);
            margin: 0 0 10px 0;
        }

        .main-title .highlight {
            color: var(--accent-lilac);
        }

        .subtitle {
            color: #666;
            font-size: 1rem;
            margin: 0 0 32px 0;
            line-height: 1.5;
        }

        /* =========================================
           FORMULARIO Y GRID
        ========================================= */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr;

            margin-bottom: 25px;
        }

        @media (min-width: 600px) {
            .form-grid.two-cols {
                grid-template-columns: 1fr 1fr;
            }
        }

        .form-group {
            text-align: left;
        padding:10px!important;
        }

        .form-group label {
            display: block;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--dark-text);
            margin-bottom: 10px;
            margin-left: 12px;
        }

        .wigoo-input {
            width: 100%;
            background: var(--white);
            border: 1px solid rgba(155, 126, 248, 0.3);
            border-radius: 40px; 
            padding: 14px 24px;
            font-size: 0.8rem;
            font-family: inherit;
            color: var(--dark-text);
            box-sizing: border-box;
            transition: all 0.3s ease;
            outline: none;
            box-shadow: 0 4px 15px rgba(0,0,0, 0.02);
        }

        .wigoo-input::placeholder {
            color: #a0aec0;
        }

        .wigoo-input:focus {
            border-color: var(--accent-lilac);
            box-shadow: 0 4px 20px rgba(155, 126, 248, 0.15);
        }

        /* =========================================
           BOTÃ“N PRINCIPAL
        ========================================= */
        .btn-primary {
            width: 100%;
            background: var(--accent-lilac);
            color: var(--white);
            border: none;
            padding: 16px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
            margin-top: 10px;
            font-family: inherit;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(232, 67, 147, 0.5);
        }

        .btn-primary:active {
            transform: translateY(0);
        }
 /* =========================================
           ENLACES FOOTER
        ========================================= */
        .links-footer {
            margin-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .links-footer a {
            color: #666;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .links-footer a:hover {
            color: var(--accent-lilac);
        }

        .links-footer .crear-cuenta {
            color: var(--accent-lilac);
            font-weight: 700;
            margin-top: 8px;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .login-wrapper {
                padding: 30px 20px;
                border-radius: 20px;
            }
            .btn-back {
                top: 15px;
                left: 15px;
            }
            .main-title {
                font-size: 1.5rem;
            }
        }
      .btn-back {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #e84393;
    font-weight: 600;
    line-height: 1;
    background-color: #ece8f6;
    border-radius: 20px;
    padding: 8px 16px;
}

.btn-back svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.btn-back:hover {
    background-color: #e4e3e6;
    transition: background-color 0.2s ease;
}

.color_btn_rojo{
background:var(--danger-color)!important;
}
.color_btn_verde{
background:var(--succes-color)!important;
}
.wigoo-input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}
.wigoo-error-msg {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}
/* ========================================
   LOADER SWEETALERT2 COLOR WIGOO
======================================== */

/* =====================================================
   ? PERSONALIZACIÓN SWEETALERT2 - WIGOO
   Color principal: #e84393
   ===================================================== */

/* Loader / spinner */
.swal2-loader,
div:where(.swal2-container) div:where(.swal2-loader) {
  border-color: #e84393 transparent #e84393 transparent !important;
}

/* Botón confirmar */
.swal2-confirm {
  background-color: #e84393 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Botón cancelar */
.swal2-cancel {
  background-color: #b49bfb !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Focus de botones */
.swal2-styled:focus {
  box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.25) !important;
}

/* Ícono success - círculo */
div:where(.swal2-icon).swal2-success {
  border-color: #e84393 !important;
  color: #e84393 !important;
}

/* Ícono success - anillo exterior */
div:where(.swal2-icon).swal2-success .swal2-success-ring {
  border: .25em solid rgba(232, 67, 147, 0.30) !important;
}

/* Ícono success - check interno */
div:where(.swal2-icon).swal2-success [class^="swal2-success-line"] {
  background-color: #e84393 !important;
}

/* Ícono info */
div:where(.swal2-icon).swal2-info {
  border-color: #e84393 !important;
  color: #e84393 !important;
}

/* Ícono question */
div:where(.swal2-icon).swal2-question {
  border-color: #e84393 !important;
  color: #e84393 !important;
}

/* Barra de tiempo si usas timer */
.swal2-timer-progress-bar {
  background: rgba(232, 67, 147, 0.45) !important;
}
.color-wigoo{
color: var(--color-wigoo); }