  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
        
        :root {
            /* Colores base para el rol por defecto (Gerencia) */
            --primary-color: #003264;
            --primary-hover: #002244;
            --secondary-color: #3296FA;
            --gray-700: #374151;
        }

        body {
            font-family: 'Inter', sans-serif;
            /* El fondo se establecerá dinámicamente con JS */
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            transition: background 0.5s ease-in-out;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            overflow-y: auto;
        }

        .glass-effect {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .input-group {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .form-field {
            width: 100%;
            padding: 1rem 1rem 1rem 3.5rem;
            border: 2px solid #e5e7eb;
            border-radius: 0.75rem;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f9fafb;
        }
        
        .form-field:focus {
            outline: none;
            border-color: var(--primary-color); /* Color dinámico */
            background: white;
            box-shadow: 0 0 0 3px var(--primary-color-trans); /* Color dinámico */
        }

        .input-group .input-icon {
            position: absolute;
            left: 1.25rem;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 1.25rem;
            z-index: 10;
        }
        
        .action-button {
            padding: 1rem 2rem;
            border-radius: 0.75rem;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            font-size: 1.125rem;
        }

        .action-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        }

        .btn-primary { background: var(--primary-color); }
        .btn-primary:hover { background: var(--primary-hover); }

        .logo {
            width: 100%; 
            max-width: 160px;
            height: auto; 
            object-fit: contain; 
        }

        .form-container {
            max-width: 620px;
            width: 100%;
        }

        .role-tab {
            flex-grow: 1;
            padding: 10px 10px;
            font-size: 0.9rem;
            font-weight: 600;
            text-align: center;
            color: var(--gray-700);
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            cursor: pointer;
            background-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: nowrap;
            /* para la nueva opcion*/
            margin-bottom: -1px;
            margin: 4px 0px; /* Agrega margen para espaciar los botones cuando se envuelven */
            flex-grow: 0; /* Asegura que no crezcan de forma desigual */
            flex-shrink: 0; /* Asegura que no se encojan forzadamente */
        }

        .role-tab:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .role-tab.active {
            color: var(--primary-color); /* Color dinámico */
            border-bottom-color: var(--primary-color); /* Color dinámico */
        }

        @media (max-width: 480px) {
            .role-tab {
                font-size: 0.7rem;
            }
            .role-tab i {
                margin-right: 0.25rem;
            }
            .form-container {
        padding: 1rem;
        max-width: 100%;
    }
        }