.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); justify-content: center; align-items: center; z-index: 9999; }
.modal-content { background: #1c1c1e; padding: 2.5rem 2rem; border-radius: 16px; width: 100%; max-width: 400px; color: #ffffff; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); font-family: sans-serif; }
.close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #888; font-size: 1.5rem; cursor: pointer; }
.modal-title { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 2rem; letter-spacing: 1px;}

.btn-google { width: 100%; padding: 0.8rem; background: #fff; color: #000; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-google img { width: 18px; height: 18px; }

.divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: #666; font-size: 0.85rem; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid #333; }
.divider span { padding: 0 10px; }
.auth-step { display: none; opacity: 0; transition: opacity 0.3s; }
.auth-step.active { display: block; opacity: 1; animation: fadeIn 0.4s forwards; }
.hidden { display: none !important; }
.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: #aaa; }
.input-group input { width: 100%; padding: 0.9rem; border-radius: 8px; border: 1px solid #333; background: #0a0a0a; color: #fff; box-sizing: border-box; font-size: 1rem; }
.input-group input:focus { border-color: #777; outline: none; }
.feedback-msg { font-size: 0.85rem; margin-top: 0.5rem; color: #ff4757; }
.feedback-msg.success { color: #2ed573; }
.btn-primary { width: 100%; padding: 0.9rem; background: #ffffff; color: #000000; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; transition: background 0.2s; }
.btn-primary:disabled { background: #444; color: #888; cursor: not-allowed; }
.login-link { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: #aaa; cursor: pointer; }
.login-link a { color: #ffffff; text-decoration: none; font-weight: bold; transition: color 0.2s; }
.name-inputs { display: flex; gap: 10px; }
.name-inputs .input-group { flex: 1; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
