:root {
            --primary: #00B14F;
            --primary-hover: #009140;
            --bg-gray: #F5F5F5;
            --white: #FFFFFF;
            --text-dark: #1a1a1a;
            --text-mid: #555555;
            --text-gray: #888888;
            --border: #E8E8E8;
            --radius-md: 10px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body { background-color: #D5D5D5; display: flex; justify-content: center; height: 100vh; }
        
        .app-container {
            width: 100%; max-width: 480px;
            background-color: var(--white);
            height: 100%; position: relative;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            display: flex; flex-direction: column;
        }

        @media (min-width: 481px) {
            body { align-items: center; background: #e8f5e9; }
            .app-container {
                height: 90vh !important; max-height: 850px;
                border-radius: 36px; border: 10px solid #1a1a1a;
                box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7); margin: 20px auto; overflow: hidden;
            }
            .auth-body::-webkit-scrollbar { width: 6px; }
            .auth-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }
        }

        .auth-header { text-align: center; padding: 30px 20px 10px; border-bottom: 1px solid var(--border); }
        .auth-header h1 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 5px; }
        .auth-header p { font-size: 0.85rem; color: var(--text-gray); }

        .auth-body { padding: 20px; flex: 1; overflow-y: auto; }

        .form-group { margin-bottom: 16px; }
        .form-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }
        .form-control {
            width: 100%; padding: 12px 14px;
            border: 1px solid var(--border); border-radius: var(--radius-md);
            font-size: 0.95rem; background: var(--bg-gray); transition: all 0.2s;
        }
        .form-control:focus { outline: none; border-color: var(--primary); background: var(--white); }
        
        .file-input-wrapper {
            background: #f8f9fa; border: 1px dashed #ccc; padding: 15px; text-align: center; border-radius: 8px; margin-bottom: 5px;
        }

        .btn {
            width: 100%; padding: 16px; border: none; border-radius: var(--radius-md);
            font-size: 1rem; font-weight: 700; cursor: pointer; text-align: center;
            transition: background 0.2s; margin-top: 20px; margin-bottom: 20px;
            background: var(--primary); color: var(--white);
        }
        .btn:active { background: var(--primary-hover); }

        #alertMessage { padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 0.85rem; text-align: center; display: none; }
        .alert-error { background: #FEE2E2; color: #DC2626; border: 1px solid #FCA5A5; }
        .alert-success { background: #DCFCE7; color: #16A34A; border: 1px solid #86EFAC; }