/* ============================================================
   TS Personalizados — Telas de autenticação
   Usa os mesmos tokens da home pública (ver site.css)
   ============================================================ */

body.ts-auth {
  background: var(--ts-ink);
  color: #fff;
  margin: 0;
  min-height: 100vh;
}

.auth-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-bottom: 2rem; }
.auth-brand img { width: 52px; height: 52px; object-fit: contain; }
.auth-brand__name { font-family: var(--ts-serif); font-size: 1.15rem; font-weight: 600; color: var(--ts-gold); margin: 0; line-height: 1.15; }
.auth-brand__tag { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }

.auth-title { font-family: var(--ts-serif); font-size: 1.75rem; font-weight: 600; color: #fff; margin: 0 0 .4rem; }
.auth-sub { font-size: .9rem; color: rgba(255, 255, 255, .6); margin: 0 0 2rem; }

.auth-label { font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .75); margin-bottom: .4rem; display: block; }
.auth-input-wrap { position: relative; margin-bottom: 1.15rem; }
.auth-input-wrap .ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, .35); font-size: .85rem; pointer-events: none; }
.auth-input { width: 100%; padding: .8rem 1rem .8rem 2.6rem; border-radius: var(--ts-radius-sm); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #fff; font-size: .9rem; transition: .18s; }
.auth-input::placeholder { color: rgba(255, 255, 255, .3); }
.auth-input:focus { outline: none; border-color: var(--ts-gold); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(240, 188, 116, .15); }
.auth-input.is-invalid { border-color: rgba(220, 53, 69, .6); }
.auth-eye { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255, 255, 255, .4); cursor: pointer; font-size: .9rem; padding: .2rem; }
.auth-eye:hover { color: var(--ts-gold); }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.auth-check { display: flex; align-items: center; gap: .45rem; font-size: .83rem; color: rgba(255, 255, 255, .7); cursor: pointer; }
.auth-check input { width: 16px; height: 16px; accent-color: var(--ts-gold); cursor: pointer; }
.auth-link { font-size: .83rem; color: var(--ts-gold); text-decoration: none; font-weight: 500; }
.auth-link:hover { color: var(--ts-gold-soft); text-decoration: underline; }

.auth-btn { width: 100%; padding: .85rem; border-radius: 999px; border: 0; background: linear-gradient(135deg, var(--ts-gold-soft), var(--ts-gold)); color: var(--ts-ink); font-size: .92rem; font-weight: 700; cursor: pointer; transition: .2s; box-shadow: 0 4px 14px -4px rgba(240, 188, 116, .45); }
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(240, 188, 116, .6); }

.auth-back { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.75rem; font-size: .83rem; color: rgba(255, 255, 255, .5); text-decoration: none; transition: .15s; }
.auth-back:hover { color: var(--ts-gold); }

.auth-alert { background: rgba(220, 53, 69, .12); border: 1px solid rgba(220, 53, 69, .35); color: #ffb3ba; font-size: .82rem; padding: .7rem .9rem; border-radius: var(--ts-radius-sm); margin-bottom: 1.25rem; }
.auth-alert ul { margin: 0; padding-left: 1.1rem; }
.auth-alert--success { background: rgba(25, 135, 84, .12); border-color: rgba(25, 135, 84, .35); color: #a3e0bd; }
.auth-feedback { display: block; font-size: .78rem; color: #ffb3ba; margin-top: -.85rem; margin-bottom: 1.15rem; }

/* ============ Layout centralizado (padrão) ============ */
.auth-centered { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; position: relative; overflow: hidden; }
.auth-centered__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.auth-centered::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(16, 15, 13, .55) 0%, rgba(16, 15, 13, .96) 75%); }
.auth-centered__card { position: relative; z-index: 1; width: 100%; max-width: 420px; background: rgba(24, 26, 30, .88); backdrop-filter: blur(12px); border: 1px solid rgba(240, 188, 116, .16); border-radius: 20px; padding: 2.5rem; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); }
.auth-centered__card .auth-brand { justify-content: center; margin-bottom: 1.5rem; }
.auth-centered__card .auth-title,
.auth-centered__card .auth-sub { text-align: center; }
.auth-centered__card .auth-back { display: flex; justify-content: center; width: 100%; }
@media (max-width: 575.98px) { .auth-centered__card { padding: 1.75rem 1.35rem; } }

/* ============ Layout split (alternativo — login2) ============ */
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-split__visual { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 3rem; }
.auth-split__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.auth-split__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 15, 13, .35), rgba(16, 15, 13, .95)); }
.auth-split__quote { position: relative; z-index: 1; max-width: 400px; color: #fff; }
.auth-split__quote h2 { font-family: var(--ts-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.2; margin: 0 0 .7rem; }
.auth-split__quote p { font-size: .92rem; color: rgba(255, 255, 255, .65); margin: 0; line-height: 1.6; }
.auth-split__form { display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; }
.auth-split__inner { width: 100%; max-width: 380px; }
@media (max-width: 991.98px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split__visual { display: none; }
  .auth-split__form { min-height: 100vh; }
}
