        /* ====================================================
           LOGIN REBECCA REALTORS - DISEÑO PREMIUM RESPONSIVO
           ==================================================== */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #0F2B4B 0%, #1A3E63 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="white" d="M20 30L50 10L80 30L80 70L50 90L20 70Z"/></svg>');
            background-size: 60px 60px;
            pointer-events: none;
        }

        .login-container {
            width: 100%;
            max-width: 460px;
            position: relative;
            z-index: 10;
            animation: fadeIn 0.6s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-card {
            background: white;
            border-radius: 32px;
            padding: 40px 32px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* ====================================================
           LOGO COMO IMAGEN EXTERNA - RUTA CORREGIDA
           ==================================================== */

        .logo-container {
            text-align: center;
            margin-bottom: 32px;
        }

        .logo {
            display: inline-block;
        }

        .logo img {
            max-width: 220px;
            height: auto;
            display: block;
            margin: 0 auto;
        }

        /* Títulos */
        .login-title {
            font-size: 28px;
            font-weight: 700;
            color: #111827;
            margin-bottom: 8px;
            text-align: center;
            letter-spacing: -0.025em;
        }

        .login-subtitle {
            color: #6B7280;
            text-align: center;
            margin-bottom: 32px;
            font-size: 15px;
            line-height: 1.5;
        }

        /* Alerta de error */
        .alert {
            background: #FEF2F2;
            border: 1px solid #FECACA;
            border-left: 4px solid #EF4444;
            color: #991B1B;
            padding: 14px 16px;
            border-radius: 12px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .alert i {
            font-size: 18px;
        }

        /* Formulario */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #374151;
            margin-bottom: 6px;
            letter-spacing: 0.025em;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #9CA3AF;
            font-size: 16px;
            transition: color 0.2s;
        }

        .input-wrapper input {
            width: 100%;
            padding: 14px 16px 14px 48px;
            border: 2px solid #E5E7EB;
            border-radius: 16px;
            font-size: 15px;
            transition: all 0.2s;
            font-family: 'Inter', sans-serif;
            background: #F9FAFB;
        }

        .input-wrapper input:hover {
            border-color: #D1D5DB;
            background: white;
        }

        .input-wrapper input:focus {
            outline: none;
            border-color: #0F2B4B;
            background: white;
            box-shadow: 0 0 0 4px rgba(15, 43, 75, 0.1);
        }

        .input-wrapper input:focus+i {
            color: #0F2B4B;
        }

        .input-wrapper input::placeholder {
            color: #9CA3AF;
            font-size: 14px;
        }

        .password-wrapper {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #9CA3AF;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s;
        }

        .toggle-password:hover {
            color: #0F2B4B;
        }

        .toggle-password i {
            position: static;
            transform: none;
            font-size: 18px;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
        }

        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 14px;
            color: #4B5563;
        }

        .checkbox-container input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #0F2B4B;
            border-radius: 4px;
            cursor: pointer;
        }

        .forgot-link {
            color: #6B7280;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .forgot-link:hover {
            color: #0F2B4B;
            text-decoration: underline;
        }

        .btn-login {
            width: 100%;
            background: linear-gradient(135deg, #0F2B4B 0%, #1A3E63 100%);
            color: white;
            border: none;
            padding: 16px 24px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(15, 43, 75, 0.2);
        }

        .btn-login i {
            font-size: 16px;
            transition: transform 0.3s;
        }

        .btn-login:hover {
            background: linear-gradient(135deg, #1A3E63 0%, #0F2B4B 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(15, 43, 75, 0.3);
        }

        .btn-login:hover i {
            transform: translateX(6px);
        }

        .btn-login:active {
            transform: translateY(0);
            box-shadow: 0 2px 4px -1px rgba(15, 43, 75, 0.2);
        }

        .login-footer {
            margin-top: 32px;
            text-align: center;
            padding-top: 24px;
            border-top: 1px solid #F3F4F6;
        }

        .support-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #6B7280;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.2s;
            padding: 8px 16px;
            border-radius: 9999px;
            background: #F9FAFB;
        }

        .support-link:hover {
            color: #0F2B4B;
            background: #F3F4F6;
        }

        .support-link i {
            color: #C9A959;
        }

        .system-version {
            margin-top: 16px;
            color: #9CA3AF;
            font-size: 12px;
            font-weight: 400;
        }

        @media (max-width: 640px) {
            .login-card {
                padding: 32px 24px;
                border-radius: 24px;
            }

            .logo img {
                max-width: 180px;
            }

            .login-title {
                font-size: 24px;
            }

            .login-subtitle {
                font-size: 14px;
                margin-bottom: 24px;
            }

            .btn-login {
                padding: 14px 20px;
            }

            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
        }

        @media (max-width: 380px) {
            .login-card {
                padding: 24px 20px;
            }

            .logo img {
                max-width: 160px;
            }

            .login-title {
                font-size: 22px;
            }

            .input-wrapper input {
                padding: 12px 16px 12px 44px;
                font-size: 14px;
            }
        }