/* ShowTickets — Auth Pages CSS (Login, Cadastro, Esqueci/Redefinir Senha) */

:root {
  --primary:        #f97316;       /* laranja da logo */
  --primary-dark:   #c2410c;
  --primary-light:  #fff1e6;
  --accent-pink:    #ec4899;       /* rosa da logo */
  --accent-purple:  #a855f7;       /* roxo da logo */
  --bg:             #fafafa;
  --bg-grid:        rgba(0,0,0,.025);
  --text:           #0f172a;
  --text-muted:     #64748b;
  --border:         #e5e7eb;
  --error:          #dc2626;
  --success:        #16a34a;
}

* { box-sizing:border-box; margin:0; padding:0; }

body {
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg);
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size:32px 32px;
  color:var(--text);
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding:24px 16px;
  position:relative; overflow-x:hidden;
}

/* Decorações coloridas no fundo */
body::before {
  content:''; position:fixed; top:-150px; right:-100px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(236,72,153,.1), transparent 70%);
  pointer-events:none; z-index:0;
}
body::after {
  content:''; position:fixed; bottom:-150px; left:-100px;
  width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(249,115,22,.08), transparent 70%);
  pointer-events:none; z-index:0;
}

.auth-wrap {
  width:100%; max-width:480px; position:relative; z-index:1;
}
.auth-wrap.wide { max-width:640px; }

.auth-back {
  display:inline-flex; align-items:center; gap:.4rem;
  color:var(--text-muted); font-size:.86rem; text-decoration:none;
  margin-bottom:1.2rem; transition:color .2s;
}
.auth-back:hover { color:var(--primary-dark); }

.auth-card {
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:2.5rem 2rem;
  box-shadow:0 12px 40px rgba(0,0,0,.06);
  position:relative;
}
@media (max-width: 480px) {
  .auth-card { padding:2rem 1.4rem; }
}

/* Borda gradiente no topo */
.auth-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--primary));
  border-radius:20px 20px 0 0;
}

.auth-logo {
  text-align:center;
  margin-bottom:1.5rem;
}
.auth-logo img {
  height:120px; width:auto; display:block; margin:0 auto;
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.06));
}

.auth-title {
  font-family:'Playfair Display',serif;
  font-size:1.7rem; font-weight:700;
  color:var(--text);
  text-align:center;
  margin-bottom:.4rem;
  letter-spacing:-.5px;
}
.auth-subtitle {
  text-align:center; color:var(--text-muted);
  font-size:.92rem; margin-bottom:1.8rem;
  line-height:1.5;
}

.alert {
  padding:.85rem 1rem; border-radius:10px;
  font-size:.86rem; margin-bottom:1.2rem;
  display:flex; align-items:flex-start; gap:.5rem;
  line-height:1.5;
}
.alert-success {
  background:#ecfdf5; border:1px solid #6ee7b7; color:#065f46;
}
.alert-error {
  background:#fef2f2; border:1px solid #fca5a5; color:#991b1b;
}
.alert-info {
  background:#eff6ff; border:1px solid #93c5fd; color:#1e40af;
}

.form-group { margin-bottom:1.1rem; }
.form-label {
  display:block; font-size:.82rem; color:var(--text);
  font-weight:600; margin-bottom:.4rem; letter-spacing:.2px;
}
.form-control {
  width:100%; padding:.85rem 1rem;
  border:1.5px solid var(--border); border-radius:10px;
  background:#fff; color:var(--text); font-size:.95rem;
  font-family:inherit; transition:all .2s;
}
.form-control:focus {
  outline:none; border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(249,115,22,.12);
}
.form-control::placeholder { color:#cbd5e1; }

.row-grid { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; }
@media (max-width: 480px) { .row-grid { grid-template-columns:1fr; } }

.form-helper {
  font-size:.74rem; color:var(--text-muted);
  margin-top:.3rem; line-height:1.4;
}

.btn-primary-grad {
  width:100%; padding:.95rem; border:0; border-radius:10px;
  background:linear-gradient(135deg, var(--accent-purple), var(--accent-pink), var(--primary));
  background-size:200% 100%;
  color:#fff; font-size:1rem; font-weight:700; cursor:pointer;
  letter-spacing:.3px; transition:all .25s;
  margin-top:.4rem;
  box-shadow:0 6px 18px rgba(236,72,153,.2);
  font-family:inherit;
}
.btn-primary-grad:hover {
  background-position:100% 0;
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(236,72,153,.28);
}
.btn-primary-grad:active { transform:translateY(0); }
.btn-primary-grad:disabled {
  opacity:.6; cursor:not-allowed; transform:none !important;
}

.auth-link-row {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:1.2rem;
}
.auth-link {
  color:var(--text-muted); font-size:.83rem;
  text-decoration:none; transition:color .2s;
}
.auth-link:hover { color:var(--primary-dark); }

.auth-footer {
  text-align:center; margin-top:1.5rem;
  font-size:.88rem; color:var(--text-muted);
}
.auth-footer a {
  background:linear-gradient(135deg, var(--accent-purple), var(--primary));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
  text-decoration:none; font-weight:700;
}

/* Indicador força senha */
.password-strength {
  margin-top:.5rem; height:4px; border-radius:2px;
  background:#e5e7eb; overflow:hidden;
}
.password-strength-bar {
  height:100%; transition:all .25s; width:0%;
  background:#dc2626;
}
.password-strength-bar.weak    { width:33%;  background:#dc2626; }
.password-strength-bar.medium  { width:66%;  background:#f59e0b; }
.password-strength-bar.strong  { width:100%; background:#16a34a; }
.password-strength-label {
  font-size:.72rem; color:var(--text-muted); margin-top:.25rem;
}
