.nav-login { margin-left: 22px; display: inline-flex; align-items: center; }
.nav-login-link { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 6px 12px; border-radius: 4px; transition: all .3s ease; }
.nav-login-link:hover { color: #ff7b00; background-color: rgba(255,123,0,0.15); }
.nav-login .uname { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-right: 8px; }

.auth-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; z-index: 2000; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.auth-modal.show { display: flex; }
.auth-box { background: #fff; width: 320px; max-width: 90%; border-radius: 10px; padding: 28px 24px; position: relative; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.auth-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 1.5rem; color: #999; cursor: pointer; line-height: 1; }
.auth-tabs { display: flex; margin-bottom: 18px; border-radius: 6px; overflow: hidden; border: 1px solid #eee; }
.auth-tab { flex: 1; padding: 10px 0; background: #f5f5f5; border: none; font-size: 1rem; font-weight: 600; color: #888; cursor: pointer; transition: all .25s; }
.auth-tab.active { background: #ff7b00; color: #fff; }
.auth-title { color: #ff7b00; text-align: center; margin-bottom: 18px; font-size: 1.4rem; }
.auth-input { width: 100%; padding: 10px 12px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; outline: none; box-sizing: border-box; }
.auth-input:focus { border-color: #ff7b00; }
.auth-submit { width: 100%; padding: 10px; background: #ff7b00; color: #fff; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background .3s; }
.auth-submit:hover { background: #e56d00; }
.auth-msg { color: #e53935; text-align: center; margin-top: 10px; font-size: 0.9rem; min-height: 1em; }
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); background: rgba(0,0,0,0.82); color: #fff; padding: 10px 18px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 2100; font-size: 0.95rem; }
.toast.show { opacity: 1; }
