:root {
            --primary: #FF6B6B;
            --secondary: #4ECDC4;
            --accent: #FFE66D;
            --dark: #292F36;
            --light: #F7FFF7;
            --purple: #6B5B95;
            --orange: #FF9F1C;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Comic Neue', cursive;
            background-color: var(--light);
            background-image: url('https://www.transparenttextures.com/patterns/cartographer.png');
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        .login-container {
            display: flex;
            min-height: 100vh;
            position: relative;
        }
        
        /* Decoraciones */
        .decoration {
            position: absolute;
            z-index: 1;
            pointer-events: none;
        }
        
        .star {
            color: var(--accent);
            animation: twinkle 2s infinite alternate;
        }
        
        .cloud {
            position: absolute;
            opacity: 0.8;
            z-index: 1;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes twinkle {
            0% { opacity: 0.3; transform: scale(0.8); }
            100% { opacity: 1; transform: scale(1.2); }
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        /* Panel izquierdo con la mascota */
        .welcome-panel {
            flex: 1;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
        }
        
        .welcome-content {
            text-align: center;
            color: var(--light);
            z-index: 2;
            max-width: 500px;
        }
        
        .welcome-content h1 {
            font-family: 'Fredoka One', cursive;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 3px 3px 0 var(--dark);
        }
        
        .welcome-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }
        
        .mascota-img {
            width: 300px;
            margin: 2rem 0;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
            animation: float 6s ease-in-out infinite;
        }
        
        .toggle-btn {
            background: var(--accent);
            color: var(--dark);
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 700;
            text-decoration: none;
            font-size: 1.1rem;
            box-shadow: 0 4px 0 var(--dark);
            border: 2px solid var(--dark);
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Fredoka One', cursive;
        }
        
        .toggle-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 0 var(--dark);
            background: var(--orange);
        }
        
        .toggle-btn:active {
            transform: translateY(2px);
            box-shadow: 0 2px 0 var(--dark);
        }
        
        /* Panel derecho con formularios */
        .forms-panel {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            position: relative;
        }
        
        .form-container {
            background: var(--light);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 500px;
            border: 4px solid var(--dark);
            position: relative;
            z-index: 2;
        }
        
        .form-container h2 {
            font-family: 'Fredoka One', cursive;
            color: var(--purple);
            font-size: 2rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .input-group {
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .input-group i {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--purple);
            font-size: 1.2rem;
        }
        
        .input-field {
            width: 100%;
            padding: 15px 50px;
            border-radius: 30px;
            border: 3px solid var(--dark);
            font-size: 1rem;
            font-family: 'Comic Neue', cursive;
            background-color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s;
        }
        
        .input-field:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
        }
        
        /* Estilos para el select de colegio */
        .select-field {
            width: 100%;
            padding: 15px 50px;
            border-radius: 30px;
            border: 3px solid var(--dark);
            font-size: 1rem;
            font-family: 'Comic Neue', cursive;
            background-color: rgba(255, 255, 255, 0.8);
            transition: all 0.3s;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
        }
        
        .select-field:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
        }
        
        .select-arrow {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--purple);
            font-size: 1.2rem;
            pointer-events: none;
        }
        
        /* Contenedor especial para campos de contraseña */
        .password-container {
            position: relative;
        }
        
        /* Icono para mostrar/ocultar contraseña */
        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--purple);
            cursor: pointer;
            font-size: 1.2rem;
            background: rgba(255, 255, 255, 0.5);
            padding: 5px;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
        }
        
        .password-toggle:hover {
            background: rgba(255, 255, 255, 0.8);
        }
        
        .submit-btn {
            width: 100%;
            padding: 15px;
            border-radius: 30px;
            border: none;
            background: var(--primary);
            color: var(--light);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Fredoka One', cursive;
            box-shadow: 0 4px 0 var(--dark);
            border: 2px solid var(--dark);
            margin-top: 1rem;
        }
        
        .submit-btn:hover {
            background: var(--purple);
            transform: translateY(-3px);
            box-shadow: 0 6px 0 var(--dark);
        }
        
        .submit-btn:active {
            transform: translateY(2px);
            box-shadow: 0 2px 0 var(--dark);
        }
        
        .social-login {
            text-align: center;
            margin: 1.5rem 0;
        }
        
        .social-text {
            display: block;
            margin-bottom: 1rem;
            color: var(--dark);
            font-size: 1rem;
        }
        
        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light);
            font-size: 1.2rem;
            transition: all 0.3s;
            border: 2px solid var(--dark);
        }
        
        .social-icon.facebook {
            background: #3b5998;
        }
        
        .social-icon.twitter {
            background: #1DA1F2;
        }
        
        .social-icon.google {
            background: #DB4437;
        }
        
        .social-icon.linkedin {
            background: #0077B5;
        }
        
        .social-icon:hover {
            transform: translateY(-5px) rotate(10deg);
            box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        }
        
        /* Formulario de registro (oculto inicialmente) */
        .signup-form {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--light);
            padding: 3rem;
            border-radius: 20px;
            box-sizing: border-box;
        }
        
        /* Efectos de cambio entre formularios */
        .forms-panel.active .login-form {
            display: none;
        }
        
        .forms-panel.active .signup-form {
            display: block;
            animation: fadeIn 0.5s ease-in-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .login-container {
                flex-direction: column;
            }
            
            .welcome-panel {
                clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
                padding: 4rem 2rem;
            }
            
            .mascota-img {
                width: 200px;
            }
            
            .forms-panel {
                padding: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .form-container {
                padding: 2rem 1.5rem;
            }
            
            .welcome-content h1 {
                font-size: 2rem;
            }
            
            .welcome-content p {
                font-size: 1rem;
            }
            
            .input-field {
                padding: 12px 45px;
            }
            
            .password-toggle {
                right: 10px;
            }
        }