.login-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(5px); } .login-modal { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border: 1px solid #444; border-radius: 16px; padding: 40px; max-width: 450px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); } .login-mode-selector { display: flex; margin-bottom: 24px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 4px; } .mode-button { flex: 1; padding: 12px 16px; border: none; background: transparent; color: #ccc; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; font-weight: 500; } .mode-button.active { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); } .mode-button:hover:not(.active) { background: rgba(255, 255, 255, 0.1); color: white; } .oauth-login { text-align: center; } .oauth-info { margin-bottom: 24px; padding: 20px; background: rgba(102, 126, 234, 0.1); border-radius: 12px; border: 1px solid rgba(102, 126, 234, 0.3); } .oauth-info h3 { margin: 0 0 12px 0; font-size: 18px; color: #667eea; } .oauth-info p { margin: 0; font-size: 14px; line-height: 1.5; opacity: 0.9; } .oauth-login-button { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; color: white; padding: 16px 32px; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3); } .oauth-login-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); } .oauth-login-button:disabled { opacity: 0.7; cursor: not-allowed; transform: none; } .login-modal h2 { margin: 0 0 30px 0; font-size: 28px; text-align: center; background: linear-gradient(90deg, #fff700 0%, #ff00ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #ccc; font-size: 14px; font-weight: 500; } .form-group input { width: 100%; padding: 12px 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid #444; border-radius: 8px; color: white; font-size: 16px; transition: all 0.3s ease; } .form-group input:focus { outline: none; border-color: #fff700; background: rgba(255, 255, 255, 0.15); box-shadow: 0 0 0 2px rgba(255, 247, 0, 0.2); } .form-group input:disabled { opacity: 0.5; cursor: not-allowed; } .form-group small { display: block; margin-top: 6px; color: #888; font-size: 12px; } .form-group small a { color: #fff700; text-decoration: none; } .form-group small a:hover { text-decoration: underline; } .error-message { background: rgba(255, 71, 87, 0.1); border: 1px solid rgba(255, 71, 87, 0.3); border-radius: 8px; padding: 12px; margin-bottom: 20px; color: #ff4757; font-size: 14px; } .button-group { display: flex; gap: 12px; margin-top: 30px; } .login-button, .cancel-button { flex: 1; padding: 14px 24px; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; } .login-button { background: linear-gradient(135deg, #fff700 0%, #ffd700 100%); color: #000; } .login-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 247, 0, 0.4); } .login-button:disabled { opacity: 0.5; cursor: not-allowed; } .cancel-button { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid #444; } .cancel-button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.15); border-color: #666; } .login-info { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; text-align: center; } .login-info p { color: #888; font-size: 14px; line-height: 1.6; margin: 0; } .dev-notice { background: rgba(255, 193, 7, 0.1); border: 1px solid rgba(255, 193, 7, 0.3); border-radius: 6px; padding: 8px 12px; margin: 10px 0; color: #ffc107; font-size: 12px; text-align: center; }