  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #4475BA 0%, #69DFE3 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .auth-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
            width: 100%;
            max-width: 800px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 500px;
        }

        .auth-form {
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .auth-image {
            background: linear-gradient(45deg, #4475BA, #69DFE3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }

        h1 {
            color: #333;
            margin-bottom: 30px;
            font-size: 2rem;
        }

        .form-tabs {
            display: flex;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
        }

        .tab-button {
            flex: 1;
            padding: 15px;
            border: none;
            background: none;
            cursor: pointer;
            font-size: 16px;
            color: #666;
            border-bottom: 2px solid transparent;
            transition: all 0.3s;
        }

        .tab-button.active {
            color: #4475BA;
            border-bottom-color: #4475BA;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            color: #333;
            font-weight: 500;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="password"] {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        input:focus {
            outline: none;
            border-color: #4475BA;
        }

        .btn {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background: linear-gradient(45deg, #4475BA, #69DFE3);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        .alert {
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
        }

        .alert-error {
            background: #fee;
            color: #c33;
            border: 1px solid #fcc;
        }

        .alert-success {
            background: #efe;
            color: #393;
            border: 1px solid #cfc;
        }

        .form-content {
            display: none;
        }

        .form-content.active {
            display: block;
        }

        /* Estilos para el enlace de recuperación de contraseña */
        .forgot-password-link {
            display: block;
            text-align: right;
            margin-top: 8px;
        }

        .forgot-password-link a {
            color: #4475BA;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
            padding: 5px 0;
        }

        .forgot-password-link a:hover {
            text-decoration: underline;
            color: #5a6fd8;
        }

        /* Icono de ayuda para el enlace */
        .forgot-password-link a::before {
            content: "🔑 ";
            margin-right: 4px;
        }

        /* Estilos para validación de contraseña en registro */
        .password-requirements {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 10px;
            margin-top: 5px;
            font-size: 12px;
            color: #6c757d;
        }

        .password-requirements ul {
            margin: 5px 0;
            padding-left: 15px;
        }

        .password-requirements li {
            margin: 2px 0;
        }

        /* Indicador de fuerza de contraseña */
        .password-strength {
            height: 3px;
            border-radius: 2px;
            margin-top: 5px;
            transition: all 0.3s;
        }

        .strength-weak { background: #dc3545; }
        .strength-medium { background: #ffc107; }
        .strength-strong { background: #28a745; }

        /* Nuevo: Información sobre tipo de cuenta */
        .account-type-info {
            background: #e3f2fd;
            border: 1px solid #2196f3;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            font-size: 14px;
        }

        .account-type-info h4 {
            color: #1976d2;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .account-type-info ul {
            margin: 8px 0;
            padding-left: 20px;
            color: #333;
        }

        @media (max-width: 768px) {
            .auth-container {
                grid-template-columns: 1fr;
            }
            
            .auth-image {
                display: none;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }

            .auth-form {
                padding: 30px 20px;
            }

            h1 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .auth-container {
                margin: 10px;
                border-radius: 15px;
            }

            .form-tabs {
                margin-bottom: 20px;
            }

            .tab-button {
                padding: 12px;
                font-size: 14px;
            }
        }