:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #818cf8;
            --secondary: #8b5cf6;
            --accent: #ec4899;
            --success: #10b981;
            --danger: #ef4444;
            --dark: #0f172a;
            --gray: #64748b;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html, body {
            height: 100%;
            width: 100%;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2e1065 100%);
            position: relative;
            overflow-x: hidden;
            display: flex;
            -webkit-font-smoothing: antialiased;
        }

        /* Animated Background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.18) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }
        body::after {
            content: '';
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        /* Floating shapes */
        .shape {
            position: fixed;
            background: rgba(255,255,255,0.03);
            border-radius: 50%;
            pointer-events: none;
            animation: float 20s ease-in-out infinite;
            z-index: 0;
        }
        .shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; animation-delay: 0s; }
        .shape-2 { width: 200px; height: 200px; bottom: 50px; right: 50px; animation-delay: 5s; animation-duration: 25s; }
        .shape-3 { width: 150px; height: 150px; top: 40%; right: -50px; animation-delay: 2s; animation-duration: 18s; }
        .shape-4 { width: 250px; height: 250px; bottom: 20%; left: -80px; animation-delay: 7s; animation-duration: 22s; }

        @keyframes float {
            0%, 100% { transform: translateY(0px) translateX(0px); }
            25% { transform: translateY(-30px) translateX(20px); }
            50% { transform: translateY(20px) translateX(-15px); }
            75% { transform: translateY(-15px) translateX(-25px); }
        }

        .auth-wrapper {
            display: flex;
            width: 100%;
            min-height: 100%;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            z-index: 1;
        }

        .auth-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            max-width: 1100px;
            width: 100%;
            align-items: center;
        }

        /* ========== LEFT CONTENT ========== */
        .auth-content {
            color: white;
            animation: slideInLeft 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        .content-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            padding: 0.5rem 1.1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            color: #e0e7ff;
        }
        .content-badge i { color: #a5b4fc; }

        .auth-content h1 {
            font-size: 3.2rem;
            font-weight: 900;
            margin-bottom: 1rem;
            letter-spacing: -1.5px;
            line-height: 1.05;
            background: linear-gradient(135deg, #ffffff 0%, #a78bfa 60%, #ec4899 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .auth-content > p {
            font-size: 1.05rem;
            color: #cbd5e1;
            margin-bottom: 2rem;
            line-height: 1.7;
        }

        .features-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1rem 1.1rem;
            border-radius: 16px;
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.08);
            transition: all 0.3s ease;
        }
        .feature-item:hover {
            background: rgba(255,255,255,0.09);
            transform: translateX(5px);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .feature-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a5b4fc;
            font-size: 1.1rem;
            flex-shrink: 0;
            border: 1px solid rgba(139, 92, 246, 0.2);
        }

        .feature-item-text h3 {
            font-size: 0.95rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.25rem;
        }
        .feature-item-text p {
            font-size: 0.82rem;
            color: #94a3b8;
            margin: 0;
            line-height: 1.5;
        }

        /* ========== AUTH CARD ========== */
        .auth-card {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-radius: 28px;
            box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
            padding: 2.5rem;
            animation: slideInRight 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            position: relative;
            overflow: hidden;
        }

        .auth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
            background-size: 200% 100%;
            animation: gradientMove 3s linear infinite;
        }

        @keyframes gradientMove {
            0% { background-position: 0% 0%; }
            100% { background-position: 200% 0%; }
        }

        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-40px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(40px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .auth-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .auth-header .logo {
            width: 64px;
            height: 64px;
            margin: 0 auto 1.2rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35); }
            50% { transform: scale(1.05); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5); }
        }

        .auth-header h2 {
            font-size: 1.75rem;
            font-weight: 900;
            background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.4rem;
            letter-spacing: -0.5px;
        }

        .auth-header p {
            color: #64748b;
            font-size: 0.88rem;
        }

        .auth-form {
            margin-bottom: 1.5rem;
        }

        .input-group {
            margin-bottom: 1.1rem;
            position: relative;
        }

        .input-group i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 1.05rem;
            transition: color 0.3s;
            z-index: 1;
            pointer-events: none;
        }

        .auth-form input[type="email"],
        .auth-form input[type="password"] {
            width: 100%;
            padding: 14px 16px 14px 46px;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            background: #f8fafc;
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            color: #0f172a;
        }

        .auth-form input::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

        .auth-form input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
        }

        .auth-form input:focus + i,
        .input-group:focus-within i {
            color: var(--primary);
        }

        /* Disable autofill styling */
        .auth-form input:-webkit-autofill,
        .auth-form input:-webkit-autofill:hover,
        .auth-form input:-webkit-autofill:focus,
        .auth-form input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px white inset !important;
            box-shadow: 0 0 0 30px white inset !important;
            -webkit-text-fill-color: #000 !important;
        }

        .remember-me {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .checkbox-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        .checkbox-wrapper:hover label { color: var(--primary-dark); }
        .checkbox-wrapper input {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--primary);
        }
        .checkbox-wrapper label {
            color: #475569;
            font-size: 0.85rem;
            cursor: pointer;
            transition: color 0.3s;
            font-weight: 500;
        }

        .forgot-link {
            color: var(--primary-dark);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: color 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }
        .forgot-link:hover {
            color: var(--primary);
            text-decoration: underline;
        }

        .auth-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            border-radius: 14px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            position: relative;
            overflow: hidden;
            font-family: 'Inter', sans-serif;
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
        }

        .auth-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
            transition: left 0.6s;
        }
        .auth-btn:hover::before { left: 100%; }
        .auth-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
        }
        .auth-btn:active { transform: translateY(0); }
        .auth-btn:disabled {
            background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        .auth-footer {
            text-align: center;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e2e8f0;
        }
        .auth-footer p {
            color: #64748b;
            font-size: 0.88rem;
            margin-bottom: 0.8rem;
        }
        .auth-footer a {
            color: var(--primary-dark);
            text-decoration: none;
            font-weight: 700;
            transition: color 0.3s;
        }
        .auth-footer a:hover {
            color: var(--primary);
            text-decoration: underline;
        }

        .back-home {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: color 0.3s;
        }
        .back-home:hover { color: var(--primary); }

        .message {
            padding: 0.9rem 1rem;
            border-radius: 14px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            font-size: 0.88rem;
            font-weight: 500;
            animation: slideDown 0.4s ease;
            line-height: 1.4;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .error-message {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            color: #991b1b;
            border-left: 4px solid var(--danger);
        }

        .success-message {
            background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
            color: #065f46;
            border-left: 4px solid var(--success);
        }

        .spinner {
            display: inline-block;
            width: 14px;
            height: 14px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ========== FUSHA ME GABIM ========== */
        .input-group.has-error input {
            border-color: var(--danger);
            background: #fef2f2;
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
        }
        .input-group.has-error > i:not(.fa-eye):not(.fa-eye-slash) { color: var(--danger); }

        /* ========== BUTONI SYRI ========== */
        .auth-form input[type="password"],
        .auth-form input[type="text"].pw-visible {
            padding-right: 46px;
        }
        .auth-form input[type="text"].pw-visible {
            width: 100%;
            padding: 14px 46px 14px 46px;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            font-size: 0.95rem;
            background: #f8fafc;
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            color: #0f172a;
            transition: all 0.25s ease;
        }
        .auth-form input[type="text"].pw-visible:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
        }
        .input-group.has-error input[type="text"].pw-visible {
            border-color: var(--danger);
            background: #fef2f2;
        }
        .toggle-password {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            cursor: pointer;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            z-index: 2;
        }
        .toggle-password:hover { color: var(--primary); background: rgba(99, 102, 241, 0.08); }
        .toggle-password i {
            position: static;
            transform: none;
            pointer-events: none;
            color: inherit;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 968px) {
            .auth-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                max-width: 480px;
            }
            .auth-content {
                text-align: center;
            }
            .auth-content h1 {
                font-size: 2.4rem;
            }
            .features-list {
                max-width: 100%;
                margin: 2rem auto 0;
            }
            .feature-item {
                text-align: left;
            }
        }

        @media (max-width: 768px) {
            .auth-wrapper { padding: 1.5rem 1rem; }
            .auth-card { padding: 2rem 1.6rem; }
            .auth-content h1 { font-size: 2rem; }
            .auth-header h2 { font-size: 1.5rem; }
        }

        @media (max-width: 480px) {
            .auth-wrapper { padding: 1rem 0.8rem; }
            .auth-card { padding: 1.8rem 1.4rem; border-radius: 22px; }
            .auth-header h2 { font-size: 1.35rem; }
            .auth-header .logo { width: 56px; height: 56px; font-size: 1.5rem; }
            .remember-me {
                flex-direction: column;
                align-items: flex-start;
            }
            .auth-content { display: none; }
            .auth-container { gap: 0; }
            .auth-form input { padding: 13px 14px 13px 44px; font-size: 0.9rem; }
            .auth-form input[type="password"],
            .auth-form input[type="text"].pw-visible { padding-right: 44px; }
            .input-group i { left: 14px; font-size: 1rem; }
        }

        @media (max-height: 700px) and (min-width: 481px) {
            .auth-wrapper { padding: 1rem; }
            .feature-item { padding: 0.8rem 1rem; }
            .auth-card { padding: 2rem; }
        }
