 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
            width: 900px;
            min-height: 500px;
            display: flex;
        }

        .left-section {
            flex: 1;
            background: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            position: relative;
        }

        .grid-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.05;
            background-image: 
                linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            z-index: 1;
        }

        .logo-section {
            z-index: 2;
            text-align: center;
        }

        .main-logo {
            width: 120px;
            height: 120px;
            margin-bottom: 30px;
            position: relative;
        }

        .logo-circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            position: relative;
            background: conic-gradient(from 0deg, #8bc34a 0deg 90deg, #e91e63 90deg 180deg, #2196f3 180deg 270deg, #ff9800 270deg 360deg);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .logo-circle::after {
            content: '';
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            background: white;
            border-radius: 50%;
        }

        .logo-number {
            position: absolute;
            top: -10px;
            right: -10px;
            background: #2196f3;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
            z-index: 3;
        }

        .main-title {
            font-size: 48px;
            font-weight: bold;
            color: #2196f3;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .gears {
            display: inline-flex;
            gap: 5px;
            margin-left: 10px;
        }

        .gear {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            position: relative;
        }

        .gear-red {
            background: #e91e63;
        }

        .gear-green {
            background: #4caf50;
        }

        .gear::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
        }

        .right-section {
            flex: 1;
            background: #f8f9fa;
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-header {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }

 

        .login-brand {
            font-size: 14px;
            color: #666;
            font-weight: bold;
        }

        .welcome-text {
            font-size: 16px;
            color: #333;
            margin-bottom: 30px;
            line-height: 1.5;
        }

        .login-form {
            display: flex;
            flex-direction: column;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: #666;
            font-size: 14px;
            font-weight: 500;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #e1e5e9;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: white;
        }

        .form-input:focus {
            outline: none;
            border-color: #2196f3;
            box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
        }

        .password-group {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #666;
            font-size: 18px;
        }

        .login-button {
            width: 100%;
            padding: 15px;
            background: #2196f3;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .login-button:hover {
            background: #1976d2;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                width: 90%;
                max-width: 400px;
            }
            
            .left-section {
                padding: 30px 20px;
                display: none;
            }
            
            .main-title {
                font-size: 32px;
            }
            
            .right-section {
                padding: 40px 30px;
            }
        }




  .forgot-pwd button {
            background-color: transparent;
            color: #007bff;
            border: none;
            padding: 0;
            font-size: 14px;
            text-decoration: underline;
            cursor: pointer;
        }

        .forgot-pwd button:hover {
            color: #0056b3;
        }

/* Botón para ir al home */
/* Botón para ir al home */
.btn-home {
    position: fixed; /* Fijo en la pantalla */
    top: 20px;
    left: 20px; /* esquina superior izquierda */
    padding: 10px 20px;
    background-color: #3498db; /* azul bonito */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s;
    z-index: 1000; /* para que quede encima de todo */
}

.btn-home i {
    font-size: 18px;
}

.btn-home:hover {
    background-color: #2980b9; /* azul más oscuro */
    transform: translateY(-2px);
}
