/* =========================================
   Auth / Utility Layout (Login, Reset, Install, Index)
   ========================================= */

/* Vollflächiger Hintergrund nur für diese Seiten */
.auth-body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, #1E2234 0, #05060b 75%);
  color: #e9ecf1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Für Seiten wie index, wo der Inhalt eher oben sitzen soll */
.auth-body--top {
  align-items: flex-start;
}

/* Zentrierter Wrapper: kleine Seiten wie Login / Reset */
.auth-wrap {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  display: flex;
  justify-content: center;
}

/* Breiter Wrapper z. B. für index.html */
.auth-wrap--wide {
  max-width: 1200px;
}

/* GLASSY CARD – der eigentliche „abgefahren schöne“ Look
   Mehr Spezifität (.card.auth-card), damit sie .card aus anderen CSS-Dateien überstimmt. */
.card.auth-card {
  width: 100%;
  background:
    radial-gradient(circle at top left, rgba(86, 220, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(146, 97, 255, 0.20), transparent 60%),
    linear-gradient(135deg, rgba(16, 19, 30, 0.94), rgba(6, 8, 18, 0.96));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(180, 220, 255, 0.04);
  padding: 26px 24px 20px;
  backdrop-filter: blur(22px) saturate(1.35);
}

/* Für index: Card etwas großzügiger */
.card.auth-card.auth-card--wide {
  padding: 28px 28px 22px;
}

/* Logo */
.auth-card .brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.auth-card .brand img {
  max-width: 220px;
  height: auto;
  display: block;
}

/* Headlines & Texte */
.auth-card h1 {
  margin: 0 0 6px 0;
  font-size: 22px;
  text-align: center;
}

.auth-card .small,
.auth-card .hero-sub {
  margin: 0 0 18px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8a8f98;
  text-align: center;
}

/* Formular-Layout */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-card label {
  display: block;
  font-size: 12px;
  color: #8a8f98;
  margin-bottom: 4px;
}

.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card input[type="number"] {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #2a2d33;
  background: #0f1013;
  color: #e9ecf1;
  padding: 0 12px;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-card input:focus {
  outline: none;
  border-color: #2CCFB4;
  box-shadow: 0 0 0 3px rgba(44, 207, 180, 0.18);
}

/* Button mittig & „saftig“ */
.auth-card .btn {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 0;
  margin-top: 14px;
  background: linear-gradient(135deg, #2CCFB4, #4ee0ff);
  color: #00101a;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 40px rgba(18, 209, 177, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.auth-card .btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(18, 209, 177, 0.55);
}

.auth-card .btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Footer-Links */
.auth-card .foot {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
}

.auth-card .foot a {
  color: #a8c9ff;
  text-decoration: none;
}

.auth-card .foot a:hover {
  text-decoration: underline;
}

/* Info / Fehler-Messages */
.auth-msg,
.auth-error {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

.auth-msg {
  color: #8ad4ff;
}

.auth-error {
  color: #E24B4B;
}

/* Spezieller Header für index */
.auth-card .hero-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
}

.auth-card .hero-header h1 {
  text-align: center;
}

.auth-card .hero-header .hero-sub {
  max-width: 720px;
}
/* === MASTER-GLASS-CARD – GANZ ANS ENDE ===================== */

.card,
.glass-card,
.glassy-card,
.app-main .card,
.side-mini-form .card,
.app-right .settings-group,
.playlist-detail-card,
.schedule-card,
.monitor-card,
.media-card,
.profile-reset-card,
.bg-settings-card,
.mini-playlist-card {
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  background:
    radial-gradient(circle at top left, rgba(86, 220, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(146, 97, 255, 0.20), transparent 60%),
    linear-gradient(135deg, rgba(16, 19, 30, 0.94), rgba(6, 8, 18, 0.2));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(180, 220, 255, 0.04);
  padding: 26px 24px 20px;
  backdrop-filter: blur(22px) saturate(1.35);
}


/* Guide-based light auth theme */
.auth-body{
  background:
    radial-gradient(circle at 0% 0%, rgba(255,223,145,0.34), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(66,203,213,0.16), transparent 26%),
    linear-gradient(180deg, #efe7ff 0%, #f7f3ff 42%, #f8f7fc 100%) !important;
  color:#242438 !important;
}

.card.auth-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(251,248,255,0.98) 100%) !important;
  border:1px solid rgba(134,84,255,0.10) !important;
  box-shadow:0 18px 35px rgba(85,54,173,0.08) !important;
}

.auth-card h1,
.auth-card .hero-sub,
.auth-card .small,
.auth-card label,
.auth-msg,
.auth-error{
  color:#242438;
}

.auth-card .small,
.auth-card .hero-sub,
.auth-card label,
.auth-msg{
  color:#7d7b95 !important;
}

.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card input[type="number"]{
  background:#fff !important;
  border:1px solid #ece7fa !important;
  color:#242438 !important;
}

.auth-card input:focus{
  border-color:rgba(134,84,255,0.34) !important;
  box-shadow:0 0 0 4px rgba(134,84,255,0.08) !important;
}

.auth-card .btn{
  background:linear-gradient(135deg, #42cbd5, #60d8df) !important;
  color:#12282a !important;
  box-shadow:0 14px 28px rgba(66,203,213,0.18) !important;
}

.auth-card .foot a{
  color:#8654ff !important;
}


/* NAVISIGN auth alignment polish */
.auth-card .brand,
.auth-card .hero-header{
  justify-content:flex-start !important;
  align-items:flex-start !important;
}
.auth-card h1,
.auth-card .small,
.auth-card .hero-sub,
.auth-card .hero-header h1,
.auth-card .hero-header .hero-sub{
  text-align:left !important;
}
.auth-card .foot{
  text-align:right !important;
}
.auth-card form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.auth-card form .btn{
  margin-top:10px;
}
.auth-card label{
  margin-bottom:6px;
}
