  /* ===== AUTH MODAL ===== */
  .auth-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); z-index: 9999;
    align-items: center; justify-content: center;
    animation: fadeInOverlay .2s ease;
  }
  .auth-overlay.active { display: flex; }
  @keyframes fadeInOverlay { from { opacity:0; } to { opacity:1; } }
  .auth-box {
    background: #fff; border-radius: 16px;
    width: 100%; max-width: 440px; margin: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: slideUp .25s ease;
    overflow: hidden;
  }
  @keyframes slideUp { from { transform: translateY(30px); opacity:0; } to { transform:translateY(0); opacity:1; } }
  .auth-header {
    background: var(--red); color: #fff;
    padding: 20px 28px 16px; position: relative;
    display: flex; align-items: center; gap: 12px;
  }
  .auth-header h3 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .5px; }
  .auth-header .auth-logo { width: 40px; height: 40px; background: rgba(255,255,255,.2); border-radius: 50%; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:13px; }
  .auth-close {
    position: absolute; top: 14px; right: 16px;
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    font-size: 16px; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .auth-close:hover { background: rgba(255,255,255,.3); }
  .auth-body { padding: 28px; }
  .auth-panel { display: none; }
  .auth-panel.active { display: block; }
  .auth-form-group { margin-bottom: 18px; }
  .auth-form-group label { display: block; font-size: 13px; font-weight: 700; color: #444; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
  .auth-form-group .input-wrap { position: relative; }
  .auth-form-group .input-wrap i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 14px; }
  .auth-input {
    width: 100%; padding: 11px 14px 11px 38px;
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: 14px; font-family: 'Open Sans', sans-serif;
    transition: border-color .2s, box-shadow .2s; outline: none;
    background: #fafafa;
  }
  .auth-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,31,46,.12); background: #fff; }
  .auth-input.is-invalid { border-color: #dc3545; }
  .auth-error { color: #dc3545; font-size: 12px; margin-top: 4px; display: none; }
  .auth-error.show { display: block; }
  .auth-btn {
    width: 100%; padding: 13px; background: var(--red);
    color: #fff; border: none; border-radius: 8px; font-size: 14px;
    font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: .5px;
    cursor: pointer; transition: background .2s, transform .1s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .auth-btn:hover { background: var(--red-dark); }
  .auth-btn:active { transform: scale(.98); }
  .auth-btn:disabled { opacity: .7; cursor: not-allowed; }
  .auth-links { text-align: center; margin-top: 16px; font-size: 13px; color: #666; }
  .auth-links a { color: var(--red); font-weight: 700; cursor: pointer; text-decoration: none; }
  .auth-links a:hover { text-decoration: underline; }
  .auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
  .auth-divider hr { flex: 1; border-color: #eee; }
  .auth-divider span { font-size: 12px; color: #bbb; }
  .auth-global-error { background: #fff5f5; border: 1px solid #ffc8cc; border-radius: 8px; padding: 10px 14px; color: #c62828; font-size: 13px; margin-bottom: 16px; display: none; }
  .auth-global-error.show { display: flex; align-items: center; gap: 8px; }
  .auth-success { background: #f0fff4; border: 1px solid #a8d5b5; border-radius: 8px; padding: 10px 14px; color: #2e7d32; font-size: 13px; margin-bottom: 16px; display: none; }
  .auth-success.show { display: flex; align-items: center; gap: 8px; }
  /* Nav login button */
  .nav-login-btn {
    background: var(--red); color: #fff !important;
    padding: 8px 18px; border-radius: 8px; font-size: 12px !important;
    font-weight: 800 !important; display: flex !important; align-items: center; gap: 6px;
    transition: background .2s, transform .1s; border: none; cursor: pointer;
  }
  .nav-login-btn:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
  .nav-user-info { display: flex; align-items: center; gap: 10px; }
  .nav-user-info span { font-size: 12px; font-weight: 700; color: var(--red); font-family: 'Montserrat', sans-serif; }
  .nav-logout-btn { font-size: 12px !important; color: #888 !important; border: 1px solid #ddd; padding: 5px 12px; border-radius: 6px; transition: all .2s; }
  .nav-logout-btn:hover { color: var(--red) !important; border-color: var(--red); }
