/* public/auth.css */

.nav-user { font-size: 0.82rem; color: rgba(240,237,232,0.5); }

.btn-nav {
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  padding: 0.4rem 1rem; border-radius: 100px; cursor: pointer;
  transition: all 0.15s; text-decoration: none; display: inline-block;
}
.btn-nav-outline {
  background: transparent; color: rgba(240,237,232,0.6);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-nav-outline:hover { border-color: rgba(255,255,255,0.3); color: #f0ede8; }
.btn-nav-primary { background: #ff3c82; color: #fff; border: none; box-shadow: 0 0 20px rgba(255,60,130,0.2); }
.btn-nav-primary:hover { box-shadow: 0 0 30px rgba(255,60,130,0.4); }

.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.75); align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: #13131a; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 2rem; width: 100%; max-width: 400px; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.07); border: none; color: #f0ede8;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.14); }
.modal-logo { font-family: 'Clash Display', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: #f0ede8; }
.modal-logo span { color: #ff3c82; }

.modal-tabs { display: flex; margin-bottom: 1.5rem; background: rgba(255,255,255,0.05); border-radius: 10px; padding: 3px; }
.modal-tab {
  flex: 1; padding: 0.5rem; border-radius: 8px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  color: rgba(240,237,232,0.45); background: transparent; cursor: pointer; transition: all 0.15s;
}
.modal-tab.active { background: rgba(255,255,255,0.1); color: #f0ede8; }

.modal-form { display: flex; flex-direction: column; gap: 10px; }

.form-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 0.75rem 1rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; color: #f0ede8; transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: #ff3c82; }
.form-input::placeholder { color: rgba(240,237,232,0.25); }

.btn-submit {
  width: 100%; background: #ff3c82; color: #fff; border: none;
  padding: 0.85rem; border-radius: 100px; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.15s;
  box-shadow: 0 0 25px rgba(255,60,130,0.2); margin-top: 4px;
}
.btn-submit:hover { box-shadow: 0 4px 35px rgba(255,60,130,0.4); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.divider { display: flex; align-items: center; gap: 10px; margin: 4px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.divider span { font-size: 0.75rem; color: rgba(240,237,232,0.25); }

.btn-google {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(240,237,232,0.8); border-radius: 100px; padding: 0.8rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-google:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

.modal-msg { font-size: 0.8rem; padding: 0.6rem 0.8rem; border-radius: 8px; display: none; }
.modal-msg.error { background: rgba(220,50,50,0.1); color: rgba(240,100,100,0.9); border: 1px solid rgba(220,50,50,0.2); display: block; }
.modal-msg.success { background: rgba(74,222,128,0.08); color: rgba(74,222,128,0.9); border: 1px solid rgba(74,222,128,0.2); display: block; }

.btn-text {
  background: none; border: none; color: rgba(240,237,232,0.35);
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
  cursor: pointer; padding: 0; text-align: left;
  transition: color 0.15s;
}
.btn-text:hover { color: rgba(240,237,232,0.65); }