        :root {
            /* Light Theme (Default) */
            --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            --accent-color: #07839b;
            --accent-gradient: linear-gradient(135deg, #07839b 0%, #00b4d8 100%);
            --glass-bg: rgba(255, 255, 255, 0.85);
            --glass-border: rgba(7, 131, 155, 0.15);
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --input-bg: rgba(255, 255, 255, 0.9);
            --input-placeholder: #94a3b8;
            --blob-opacity: 0.08;
            --shadow-opacity: 0.1;
        }

        html[data-theme="dark"] {
            /* Dark Theme */
            --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            --glass-bg: rgba(30, 41, 59, 0.7);
            --glass-border: rgba(255, 255, 255, 0.08);
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --input-bg: rgba(15, 23, 42, 0.5);
            --input-placeholder: #475569;
            --blob-opacity: 0.15;
            --shadow-opacity: 0.4;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-primary);
            height: 100vh;
            height: 100dvh;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 15px;
            overflow: hidden;
            transition: background 0.3s ease, color 0.3s ease;
        }

        /* Theme Toggle Button */
        .btn-theme-toggle {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            color: var(--text-primary);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, var(--shadow-opacity));
            z-index: 100;
            transition: all 0.3s ease;
        }

        .btn-theme-toggle:hover {
            transform: scale(1.05);
        }

        .btn-theme-toggle i {
            font-size: 20px;
        }

        /* Mobile App Container wrapper */
        .mobile-app-wrapper {
            width: 100%;
            max-width: 420px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 32px;
            padding: 40px 30px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, var(--shadow-opacity));
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        /* Glowing background blobs */
        .blob-1 {
            position: absolute;
            top: -10%;
            left: -10%;
            width: 250px;
            height: 250px;
            background: rgba(7, 131, 155, var(--blob-opacity));
            filter: blur(80px);
            border-radius: 50%;
            z-index: 0;
            pointer-events: none;
            transition: background 0.3s ease;
        }

        .blob-2 {
            position: absolute;
            bottom: -10%;
            right: -10%;
            width: 250px;
            height: 250px;
            background: rgba(0, 180, 216, var(--blob-opacity));
            filter: blur(80px);
            border-radius: 50%;
            z-index: 0;
            pointer-events: none;
            transition: background 0.3s ease;
        }

        .logo-section {
            text-align: center;
            margin-bottom: 35px;
        }

        .logo-icon-wrapper {
            width: 80px;
            height: 80px;
            background: #ffffff;
            border: 2px solid rgba(7, 131, 155, 0.2);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px auto;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(7, 131, 155, 0.08);
            transform: rotate(-5deg);
            transition: all 0.3s ease;
            padding: 8px;
        }

        .logo-icon-wrapper:hover {
            transform: rotate(0deg) scale(1.05);
            border-color: var(--accent-color);
            box-shadow: 0 14px 30px rgba(7, 131, 155, 0.25);
        }

        .logo-icon-wrapper i {
            font-size: 40px;
            color: var(--accent-color);
        }

        .logo-img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

        .app-title {
            font-size: 26px;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0;
            letter-spacing: -0.5px;
        }

        .app-subtitle {
            font-size: 14px;
            color: var(--text-secondary);
            margin: 5px 0 0 0;
        }

        .form-group-custom {
            margin-bottom: 20px;
        }

        .form-label-custom {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 8px;
            display: block;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .input-group-custom {
            position: relative;
            background: var(--input-bg);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            transition: all 0.3s ease;
        }

        .input-group-custom:focus-within {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 4px rgba(7, 131, 155, 0.15);
            background: var(--input-bg);
        }

        .input-group-custom i {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 20px;
            transition: color 0.3s ease;
        }

        .input-group-custom input:focus~i {
            color: #00b4d8;
        }

        .input-group-custom input {
            width: 100%;
            background: transparent;
            border: none;
            padding: 16px 20px 16px 50px;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 15px;
            font-weight: 400;
            outline: none;
            border-radius: 16px;
        }

        .input-group-custom input::placeholder {
            color: var(--input-placeholder);
        }

        .btn-login-custom {
            background: var(--accent-gradient);
            color: #ffffff;
            border: none;
            width: 100%;
            padding: 16px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(7, 131, 155, 0.2);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-login-custom:hover {
            opacity: 0.95;
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(7, 131, 155, 0.35);
        }

        .btn-login-custom:active {
            transform: translateY(0);
        }

        .error-message {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.2);
            color: #f87171;
            padding: 14px;
            border-radius: 16px;
            font-size: 14px;
            margin-bottom: 20px;
            display: none;
            align-items: center;
            gap: 10px;
        }

        .footer-copyright {
            text-align: center;
            font-size: 11px;
            color: var(--text-secondary);
            margin-top: 35px;
            opacity: 0.7;
        }

        .footer-copyright a {
            color: var(--text-primary);
            text-decoration: none;
        }

        /* Loading spinner */
        .spinner {
            width: 20px;
            height: 20px;
            border: 2.5px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }