/* auth.css — Prompt Smartly AI authentication modal */
.auth-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
}
.auth-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
}
.auth-card {
  position: relative; z-index: 1;
  width: min(420px, calc(100vw - 32px));
  background: var(--surf); border: 1px solid var(--bord2);
  border-radius: 20px; padding: 36px 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.auth-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--surf2); border: 1px solid var(--bord);
  color: var(--txt2); font-size: 16px; display: flex;
  align-items: center; justify-content: center; cursor: pointer; transition: all .15s;
}
.auth-close:hover { color: var(--txt); border-color: var(--bord2); }

.auth-header  { text-align: center; margin-bottom: 24px; }
.auth-title   { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.auth-sub     { font-size: 14px; color: var(--txt2); line-height: 1.55; }

.auth-placeholder { display: flex; flex-direction: column; gap: 12px; }
.auth-btn-google  {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px; border-radius: 10px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--bord2); background: var(--surf2); color: var(--txt);
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.auth-btn-google:hover:not(:disabled) { border-color: var(--accent-border); }
.auth-btn-google:disabled { opacity: .5; cursor: not-allowed; }

.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--txt3); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--bord2); }

.auth-input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--bord2); background: var(--surf2);
  color: var(--txt); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.auth-input::placeholder { color: var(--txt3); }
.auth-input:focus { border-color: var(--accent); }

.auth-btn-primary {
  width: 100%; padding: 12px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 14px;
  font-weight: 600; font-family: inherit; cursor: pointer;
  transition: opacity .2s; border: none;
}
.auth-btn-primary:hover { opacity: .88; }

.auth-switch { font-size: 13px; color: var(--txt2); text-align: center; }
.auth-switch a { color: var(--accent); }
