/* ==========================================================================
   SintiHots — Premium Auth Layout
   Self-contained styles for: login, register, novasenha, redifinir
   ========================================================================== */

.auth-premium {
  --brand: #7539ff;
  --brand-light: #a053ff;
  --brand-dark: #4c00fb;
  --brand-deep: #190a4d;
  --ink: #1b1e32;
  --muted: #71769b;
  --soft: #f5f6fc;
  --line: #e7e9f5;
  --radius-xl: 26px;
  --shadow-card: 0 30px 70px -20px rgba(31, 20, 80, 0.18);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-premium a { text-decoration: none; }

.auth-premium .auth-row {
  min-height: 100vh;
  display: flex;
}

/* ==========================================================================
   Brand panel (left)
   ========================================================================== */
.auth-premium .auth-brand-panel {
  position: relative;
  overflow: hidden;
  width: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4rem;
  background: linear-gradient(160deg, #190a4d 0%, #3a0bb8 34%, #6c21e0 62%, #a643ff 100%);
}

@media (max-width: 991.98px) {
  .auth-premium .auth-brand-panel { display: none; }
}

/* decorative grid */
.auth-premium .auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}

/* floating orbs */
.auth-premium .auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 70%);
}

.auth-premium .auth-orb-1 { width: 420px; height: 420px; top: -140px; right: -120px; animation: authFloat 14s ease-in-out infinite; }
.auth-premium .auth-orb-2 { width: 300px; height: 300px; bottom: -90px; left: -90px; animation: authFloat 18s ease-in-out infinite reverse; }
.auth-premium .auth-orb-3 { width: 180px; height: 180px; top: 34%; left: 8%; animation: authFloat 12s ease-in-out infinite 2s; }

@keyframes authFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-26px) scale(1.06); }
}

.auth-premium .auth-brand-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
}

.auth-premium .auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}
.auth-premium .auth-brand-logo img { height: 34px; width: auto; display: block; }

.auth-premium .auth-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.6rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.auth-premium .auth-brand-tag i { font-size: 0.95rem; }

.auth-premium .auth-brand-title {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.auth-premium .auth-brand-title span {
  background: linear-gradient(90deg, #ffd7a1, #ff9ff3 60%, #bde0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-premium .auth-brand-text {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* feature chips */
.auth-premium .auth-features {
  margin-top: 2.4rem;
  display: grid;
  gap: 0.85rem;
}
.auth-premium .auth-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}
.auth-premium .auth-feature-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.2rem;
  color: #fff;
}
.auth-premium .auth-feature strong { display: block; font-size: 0.92rem; font-weight: 700; }
.auth-premium .auth-feature small { color: rgba(255, 255, 255, 0.66); font-size: 0.8rem; }

.auth-premium .auth-brand-footer {
  position: absolute;
  bottom: 2rem;
  left: 4rem;
  right: 4rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

/* ==========================================================================
   Form panel (right)
   ========================================================================== */
.auth-premium .auth-form-panel {
  width: 50%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(600px 500px at 100% 0%, rgba(117, 57, 255, 0.08), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(166, 67, 255, 0.08), transparent 60%),
    var(--soft);
}

@media (max-width: 991.98px) {
  .auth-premium .auth-form-panel { width: 100%; padding: 2rem 1.25rem; min-height: 100vh; }
}

.auth-premium .auth-form-box {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.auth-premium .auth-logo-mobile {
  text-align: center;
  margin-bottom: 1.4rem;
}
.auth-premium .auth-logo-mobile img { max-height: 64px; }

.auth-premium .auth-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(117, 57, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2.35rem;
  overflow: hidden;
  margin-bottom: 1.4rem;
}
@media (max-width: 575.98px) {
  .auth-premium .auth-card { padding: 2rem 1.5rem; }
}
.auth-premium .auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4c00fb, #7539ff 45%, #a643ff);
}

.auth-premium .auth-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(117, 57, 255, 0.09);
  border: 1px solid rgba(117, 57, 255, 0.16);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.auth-premium .auth-heading {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.auth-premium .auth-sub {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0 0 1.7rem;
}

/* fields */
.auth-premium .auth-field { margin-bottom: 1.15rem; }

.auth-premium .auth-field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #383b52;
}
.auth-premium .auth-field-label .auth-req { color: #ff5a7a; margin-left: 2px; }

.auth-premium .auth-control-wrap { position: relative; }
.auth-premium .auth-control-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa0c0;
  font-size: 1.15rem;
  pointer-events: none;
  z-index: 2;
}

.auth-premium .auth-input {
  width: 100%;
  height: 52px;
  padding: 0 48px 0 46px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fbfbfe;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.auth-premium .auth-input::placeholder { color: #b4b9d4; }
.auth-premium .auth-input:hover { border-color: #d3d6ea; }
.auth-premium .auth-input:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(117, 57, 255, 0.13);
}
.auth-premium .auth-input.has-toggle { padding-right: 52px; }

/* password toggle */
.auth-premium .auth-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9aa0c0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.auth-premium .auth-toggle:hover { color: var(--brand); background: rgba(117, 57, 255, 0.08); }

/* form utilities */
.auth-premium .auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.25rem 0 1.3rem;
  flex-wrap: wrap;
}
.auth-premium .auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #4a4e6b;
  cursor: pointer;
  font-weight: 500;
}
.auth-premium .auth-remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  border-radius: 5px;
  cursor: pointer;
}
.auth-premium .auth-link {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.auth-premium .auth-link:hover { color: var(--brand-dark); text-decoration: underline; }

.auth-premium .auth-field-error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #e5455f;
  font-weight: 500;
}

/* button */
.auth-premium .auth-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, #4c00fb 0%, #7539ff 55%, #a053ff 100%);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 14px 26px -10px rgba(76, 0, 251, 0.55);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.auth-premium .auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -12px rgba(76, 0, 251, 0.6);
  filter: saturate(1.08);
  color: #fff;
}
.auth-premium .auth-btn:active { transform: translateY(0); box-shadow: 0 8px 18px -8px rgba(76, 0, 251, 0.5); }
.auth-premium .auth-btn i { font-size: 1.15rem; }

/* footer inside card / below */
.auth-premium .auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.1rem;
}

.auth-premium .auth-footnote {
  text-align: center;
  color: #a4a9c5;
  font-size: 0.82rem;
}

.auth-premium .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

/* messages */
.auth-premium .alert { border-radius: 14px; font-size: 0.9rem; }

@media (max-height: 760px) {
  .auth-premium .auth-form-panel { justify-content: flex-start; }
  .auth-premium .auth-brand-panel { justify-content: flex-start; }
  .auth-premium .auth-brand-inner { margin-top: 3rem; }
}