        * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
        html, body {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        body {
            background: linear-gradient(135deg, #0f3b5e 0%, #1a5a7a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .login-container {
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            width: 100%;
            max-width: 400px;
            padding: 40px;
            animation: fadeIn 0.3s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .login-container h1 {
            text-align: center;
            margin-bottom: 10px;
            color: #0f3b5e;
            font-size: 1.8rem;
        }
        .login-container .subtitle {
            text-align: center;
            color: #64748b;
            margin-bottom: 30px;
            font-size: 0.9rem;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #1e293b;
            font-weight: 600;
            font-size: 0.9rem;
        }
        .form-group input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.2s;
        }
        .form-group input:focus {
            outline: none;
            border-color: #0f3b5e;
            box-shadow: 0 0 0 3px rgba(15, 59, 94, 0.1);
        }
        .btn-login {
            width: 100%;
            padding: 14px;
            background: #0f3b5e;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-login:hover {
            background: #0a2a42;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(15, 59, 94, 0.3);
        }
        .btn-login:active {
            transform: translateY(0);
        }
        .error-message {
            background: #fef2f2;
            color: #b13e3e;
            padding: 12px;
            border-radius: 12px;
            margin-bottom: 20px;
            text-align: center;
            font-size: 0.9rem;
            border: 1px solid #fecaca;
        }
        .footer {
            text-align: center;
            margin-top: 24px;
            color: #94a3b8;
            font-size: 0.75rem;
        }
        .footer a {
            color: #0f3b5e;
            text-decoration: none;
        }
        .footer a:hover {
            text-decoration: underline;
        }

        .install-section {
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .install-section.hidden {
            display: none;
        }
        .btn-install {
            flex: 1;
            padding: 12px 16px;
            background: #10b981;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .btn-install:hover {
            background: #059669;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }
        .btn-install:active {
            transform: translateY(0);
        }
        .btn-install i {
            margin-right: 6px;
        }
        .btn-install-info {
            width: 44px;
            height: 44px;
            background: #e8f4fd;
            border: 2px solid #10b981;
            border-radius: 12px;
            color: #10b981;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .btn-install-info:hover {
            background: #10b981;
            color: white;
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .modal-overlay.show {
            display: flex;
        }
        .install-modal {
            background: white;
            border-radius: 16px;
            padding: 28px 24px 24px;
            max-width: 380px;
            width: 100%;
            text-align: center;
            animation: fadeIn 0.2s ease;
        }
        .install-modal .modal-icon {
            font-size: 3rem;
            margin-bottom: 12px;
        }
        .install-modal .modal-icon.ios { color: #000; }
        .install-modal .modal-icon.android { color: #3ddc84; }
        .install-modal .modal-icon.desktop { color: #0f3b5e; }
        .install-modal h3 {
            color: #0f3b5e;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        .install-modal .instruction-text {
            color: #334155;
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 24px;
            text-align: left;
        }
        .install-modal .instruction-text .step {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 14px;
        }
        .install-modal .instruction-text .step-number {
            background: #10b981;
            color: white;
            min-width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            flex-shrink: 0;
        }
        .install-modal .btn-close-modal {
            width: 100%;
            padding: 12px;
            background: #10b981;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .install-modal .btn-close-modal:hover {
            background: #059669;
        }