*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:linear-gradient(135deg,#667eea 0,#764ba2 100%);min-height:100vh;color:#333;overflow-x:hidden}.container{max-width:800px;margin:0 auto;padding:15px;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center}.header{text-align:center;margin-bottom:2rem;color:#fff;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.header h1{font-size:2.5rem;font-weight:700;margin-bottom:.5rem;text-shadow:0 2px 4px rgba(0,0,0,.3)}.subtitle{font-size:1.1rem;opacity:.9;font-weight:400}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);backdrop-filter:blur(10px);display:flex;justify-content:center;align-items:center;z-index:1000;opacity:0;visibility:hidden;transition:all .3s ease;transform:translateZ(0)}.overlay.active{opacity:1;visibility:visible}.instructions-card{background:#fff;border-radius:20px;padding:2rem;max-width:600px;width:95%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,.3);text-align:center;transform:scale(.9) translateZ(0);transition:transform .3s ease,opacity .3s ease;position:relative;opacity:0}.overlay.active .instructions-card{transform:scale(1) translateZ(0);opacity:1}.instructions-card h2{font-size:1.8rem;margin-bottom:2rem;color:#333}.qr-code-display{background:#f8f9fa;border-radius:15px;padding:1.5rem;margin-bottom:2rem;border:2px solid #e9ecef}.qr-code-display h3{font-size:1.2rem;margin-bottom:1rem;color:#333}.code-box{background:#fff;border:3px solid #667eea;border-radius:12px;padding:1rem;font-family:Monaco,Menlo,'Ubuntu Mono',monospace;font-size:1.5rem;font-weight:700;color:#667eea;letter-spacing:2px;margin-bottom:1rem;min-height:60px;display:flex;align-items:center;justify-content:center}.qr-code-display p{font-size:.9rem;color:#666;margin:0}.steps{text-align:left;margin-bottom:2.5rem}.step{display:flex;align-items:flex-start;margin-bottom:1.5rem;opacity:0;transform:translateY(20px);transition:all .5s ease}.step.visible{opacity:1;transform:translateY(0)}.step-number{background:linear-gradient(135deg,#667eea 0,#764ba2 100%);color:#fff;width:35px;height:35px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:1rem;flex-shrink:0;font-size:.9rem}.step-content{flex:1}.step-content h3{margin-bottom:.5rem;color:#333;font-size:1.1rem}.step-content p{color:#666;line-height:1.5}.auth-interface{width:100%;max-width:600px;opacity:0;transform:translateY(30px);transition:all .5s ease}.auth-interface.visible{opacity:1;transform:translateY(0)}.warning-banner{background:linear-gradient(135deg,#ff9800 0,#f57c00 100%);color:#fff;padding:15px 20px;border-radius:12px;margin-bottom:1.5rem;display:flex;align-items:center;gap:12px;box-shadow:0 4px 15px rgba(255,152,0,.3);animation:slideDown .5s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.warning-icon{font-size:1.5rem;flex-shrink:0}.warning-text{flex:1;font-size:.95rem;line-height:1.5;font-weight:500}.warning-text strong{font-weight:700}.step2-warning{background:linear-gradient(135deg,#2196f3 0,#1976d2 100%);box-shadow:0 4px 15px rgba(33,150,243,.3)}.action-required-box{background:linear-gradient(135deg,#fff3cd 0,#ffe69c 100%);border:2px solid #ffc107;border-radius:12px;padding:1.2rem;margin:1.5rem 0;display:flex;align-items:flex-start;gap:1rem;box-shadow:0 2px 8px rgba(255,193,7,.2)}.action-icon{font-size:1.8rem;flex-shrink:0;margin-top:2px}.action-text{flex:1;font-size:.95rem;line-height:1.6;color:#856404}.action-text strong{color:#664d03;font-weight:700}.full-width-button{width:100%;justify-content:center}.troubleshoot-link{background:0 0;border:none;color:#667eea;font-size:.9rem;cursor:pointer;text-decoration:underline;padding:.5rem;transition:color .3s ease}.troubleshoot-link:hover{color:#764ba2}.troubleshoot-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);backdrop-filter:blur(10px);display:none;justify-content:center;align-items:center;z-index:2000;opacity:0;transition:all .3s ease}.troubleshoot-overlay.active{display:flex;opacity:1}.troubleshoot-card{background:#fff;border-radius:12px;padding:0;max-width:580px;width:95%;max-height:80vh;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,.25);transform:scale(.9);transition:transform .3s ease,opacity .3s ease;position:relative;display:flex;flex-direction:column}.troubleshoot-overlay.active .troubleshoot-card{transform:scale(1)}.troubleshoot-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e9ecef;background:#fff}.troubleshoot-header h2{font-size:1.3rem;color:#333;margin:0;font-weight:600}.close-btn{background:#f8f9fa;border:none;font-size:1.5rem;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease;line-height:1;font-weight:300}.close-btn:hover{background:#e9ecef;color:#333}.troubleshoot-content{color:#666;line-height:1.4;padding:1.2rem 1.5rem;overflow-y:auto;flex:1}.troubleshoot-content p{margin-bottom:1rem;font-size:.95rem;color:#555}.troubleshoot-steps{margin:.8rem 0;padding-left:1.4rem}.troubleshoot-steps li{margin-bottom:.8rem;font-size:.88rem;position:relative;padding-left:.2rem;color:#555}.troubleshoot-steps li::marker{font-weight:600;color:#667eea}.troubleshoot-steps li strong{color:#333;font-weight:600;display:inline}.url-box{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:10px 12px;margin:8px 0;display:flex;align-items:center;gap:10px;word-break:break-all}.url-box code{flex:1;font-family:Monaco,Menlo,'Ubuntu Mono',monospace;font-size:.85rem;color:#667eea;background:0 0;padding:0}.copy-btn{background:linear-gradient(135deg,#667eea 0,#764ba2 100%);border:none;color:#fff;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .3s ease;flex-shrink:0;font-weight:500}.copy-btn:hover{transform:translateY(-1px);box-shadow:0 2px 6px rgba(102,126,234,.3)}.copy-btn:active{transform:translateY(0)}.troubleshoot-note{background:#e8f5e8;border:1px solid #4caf50;border-radius:6px;padding:.8rem;margin-top:.8rem;color:#1b5e20;font-size:.82rem;line-height:1.4}.troubleshoot-note strong{color:#2e7d32;display:inline;font-size:.85rem}.progress-bar{background:rgba(255,255,255,.2);border-radius:10px;height:8px;margin-bottom:2rem;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#4caf50,#45a049);height:100%;width:33%;border-radius:10px;transition:width .5s ease}.auth-card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 15px 35px rgba(0,0,0,.1);position:relative;overflow:hidden}.auth-step{display:none!important;animation:fadeInSlide .5s ease forwards;position:relative;width:100%}.auth-step.active{display:block!important}@keyframes fadeInSlide{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}.auth-step h2{font-size:1.8rem;margin-bottom:1rem;color:#333}.auth-step p{color:#666;margin-bottom:1.5rem;line-height:1.6}.primary-button,.secondary-button{padding:12px 24px;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-width:120px}.primary-button{background:linear-gradient(135deg,#667eea 0,#764ba2 100%);color:#fff;box-shadow:0 4px 15px rgba(102,126,234,.4)}.primary-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px rgba(102,126,234,.6)}.primary-button:disabled{background:#ccc;cursor:not-allowed;box-shadow:none;transform:none}.secondary-button{background:#f8f9fa;color:#666;border:2px solid #e9ecef}.secondary-button:hover{background:#e9ecef;border-color:#dee2e6}.button-group{display:flex;gap:1rem;justify-content:space-between;margin-top:2rem}.button-icon{font-size:1.2rem}.input-group{margin-bottom:1.5rem}.input-group textarea{width:100%;padding:15px;border:2px solid #e9ecef;border-radius:12px;font-size:1rem;font-family:inherit;resize:vertical;transition:border-color .3s ease}.input-group textarea:focus{outline:0;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}.url-preview{margin-top:10px;padding:10px;background:#f8f9fa;border-radius:8px;font-size:.9rem;color:#666;word-break:break-all;min-height:20px}.validation-status{margin-top:10px;padding:12px;background:#f8f9fa;border-radius:8px;display:flex;align-items:center;gap:10px;font-size:.9rem}.validation-status.valid{background:#f1f8e9;border:1px solid #4caf50;color:#2e7d32}.validation-status.invalid{background:#ffeaea;border:1px solid #f44336;color:#c62828}.status-icon{font-size:1.1rem}.code-confirmation-section{text-align:center;margin-bottom:2rem}.console-code-display{background:#f8f9fa;border-radius:15px;padding:2rem;margin:1.5rem 0;border:2px solid #e9ecef}.code-comparison{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.your-code{width:100%;max-width:280px}.your-code label{display:block;font-weight:600;margin-bottom:.8rem;color:#666;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.code-display{background:#fff;border:2px solid #e9ecef;border-radius:8px;padding:12px;font-family:Monaco,Menlo,'Ubuntu Mono',monospace;font-size:.9rem;color:#333;word-break:break-all;min-height:20px}.code-display.large{font-size:1.8rem;font-weight:700;color:#667eea;border:3px solid #667eea;border-radius:12px;padding:1.5rem;letter-spacing:2px;text-align:center;background:#fff;box-shadow:0 4px 15px rgba(102,126,234,.15);text-transform:uppercase;min-height:70px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.match-indicator{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.2rem;background:#fff;border-radius:12px;border:2px solid #e9ecef;transition:all .3s ease}.match-icon{font-size:2rem;color:#6c757d}.match-text{font-size:.9rem;color:#6c757d;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.confirmation-question{margin-top:1.5rem;padding:1.2rem;background:linear-gradient(135deg,#667eea 0,#764ba2 100%);border-radius:12px;box-shadow:0 4px 15px rgba(102,126,234,.3)}.confirmation-question p{margin:0;color:#fff;font-size:1rem;font-weight:600;line-height:1.4}.step-hint{margin-top:1rem;padding:12px;background:#fff3cd;border-radius:8px;border-left:4px solid #ffc107}.step-hint small{color:#856404;font-size:.9rem}.success-step{min-height:400px}.success-step.active{display:flex!important;align-items:center;justify-content:center}.success-content{text-align:center;width:100%}.success-animation{text-align:center;margin-bottom:2rem}.checkmark{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;font-size:3rem;display:inline-flex;align-items:center;justify-content:center;animation:checkmarkPulse .6s ease;margin:0 auto}@keyframes checkmarkPulse{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}.auth-details{background:#f8f9fa;border-radius:12px;padding:1rem;margin-bottom:1.5rem;font-family:Monaco,Menlo,'Ubuntu Mono',monospace;font-size:.9rem;color:#666;word-break:break-all}.next-steps{background:linear-gradient(135deg,#e8f5e8 0,#f0f8f0 100%);border:2px solid #4caf50;border-radius:12px;padding:1.5rem;margin-bottom:2rem;text-align:left}.next-steps p:first-child{color:#2e7d32;font-weight:700;margin-bottom:.8rem;font-size:1rem}.next-steps p:last-child{color:#1b5e20;margin:0;line-height:1.4;font-size:1rem}@media (max-width:768px){.container{padding:10px;justify-content:flex-start;padding-top:20px}.header{margin-bottom:1.5rem}.header h1{font-size:1.8rem}.subtitle{font-size:1rem}.instructions-card{padding:1.5rem;margin:10px;border-radius:15px;max-height:85vh}.instructions-card h2{font-size:1.5rem;margin-bottom:1.5rem}.qr-code-display{padding:1rem;margin-bottom:1.5rem}.code-box{font-size:1.2rem;padding:.8rem;min-height:50px}.steps{margin-bottom:1.5rem}.step{flex-direction:row;align-items:flex-start;margin-bottom:1rem}.step-number{width:30px;height:30px;font-size:.8rem;margin-right:.8rem}.step-content h3{font-size:1rem}.step-content p{font-size:.9rem}.success-step{min-height:300px}.auth-card{padding:1.2rem;border-radius:15px}.auth-step h2{font-size:1.4rem}.auth-step p{font-size:.9rem}.button-group{flex-direction:column;gap:.8rem}.primary-button,.secondary-button{padding:14px 20px;font-size:1rem;border-radius:10px}.console-code-display{padding:1.5rem;margin:1rem 0}.code-display.large{font-size:1.4rem;padding:1.2rem;letter-spacing:1.5px;min-height:60px}.your-code{max-width:250px}.your-code label{font-size:.85rem;margin-bottom:.6rem}.match-indicator{padding:1rem;gap:.4rem}.match-icon{font-size:1.8rem}.match-text{font-size:.8rem}.confirmation-question{padding:1rem;margin-top:1rem}.confirmation-question p{font-size:.95rem}.validation-status{padding:10px;font-size:.85rem}.input-group textarea{padding:12px;font-size:.9rem}.action-required-box{padding:1rem;gap:.8rem;margin:1rem 0}.action-icon{font-size:1.5rem}.action-text{font-size:.9rem}.troubleshoot-card{padding:1.5rem;margin:10px;max-height:85vh}.troubleshoot-header h2{font-size:1.3rem}.troubleshoot-steps{padding-left:1.2rem}.troubleshoot-steps li{margin-bottom:1.2rem;font-size:.9rem}.url-box{flex-direction:column;align-items:flex-start;gap:8px}.url-box code{font-size:.8rem;word-break:break-all}.copy-btn{width:100%;justify-content:center}}@media (max-width:480px){.container{padding:8px}.header h1{font-size:1.6rem}.instructions-card{padding:1rem;margin:5px}.auth-card{padding:1rem}.code-box{font-size:1rem;letter-spacing:1px}.code-display.large{font-size:1rem;letter-spacing:1px}}.fade-in-step[data-step="1"]{transition-delay:0.1s}.fade-in-step[data-step="2"]{transition-delay:0.3s}.fade-in-step[data-step="3"]{transition-delay:0.5s}@media screen and (orientation:landscape) and (max-height:600px){.subtitle{display:none}.header{margin-bottom:1rem}.container{padding-top:10px}.instructions-card{padding:1.5rem;max-height:90vh}.auth-card{padding:1.5rem}.console-code-display{padding:1.5rem;margin:1rem 0}.code-display.large{font-size:1.5rem;padding:1.5rem;min-height:60px}}