:root{
  --sp-primary:#158e9f;
  --sp-accent:#d3745d;
  --sp-bg:#0f1b20;
  --sp-surface:rgba(20,42,51,.78);
  --sp-surface-2:rgba(20,42,51,.60);
  --sp-border:rgba(48,199,211,.22);
  --sp-text:#e9f4f5;
  --sp-muted:rgba(233,244,245,.72);
  --sp-shadow:0 18px 45px rgba(0,0,0,.45);
  --sp-radius:22px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  min-height:100vh;
  font-family:'Rubik', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--sp-text);
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(27,183,196,.25), transparent 60%),
    radial-gradient(900px 500px at 85% 65%, rgba(224,100,73,.22), transparent 55%),
    linear-gradient(135deg, rgba(14,86,109,.95) 0%, rgba(15,27,32,.98) 45%, rgba(20,42,51,.92) 100%);
  background-attachment:fixed;
}

.login-wrapper{
  display:flex;
  gap:28px;
  max-width:1080px;
  margin:56px auto;
  padding:0 18px;
  align-items:stretch;
}

.card{
  background:var(--sp-surface);
  border:1px solid var(--sp-border);
  border-radius:var(--sp-radius);
  box-shadow:var(--sp-shadow);
  backdrop-filter: blur(10px);
}

/* Left info panel */
.login-info{
  flex:1;
  min-width:320px;
  padding:26px 26px 22px;
}

.login-info h3{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:.2px;
}

.login-info p{
  margin:0 0 14px;
  color:var(--sp-muted);
  line-height:1.7;
  font-size:15px;
}

.login-links a{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  margin-top:10px;
  text-decoration:none;
  color:var(--sp-text);
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.login-links a:hover{
  transform: translateY(-1px);
  background:rgba(0,0,0,.26);
  border-color:rgba(48,199,211,.28);
}

/* Right login box */
.styled-login-box{
  flex:0 0 420px;
  padding:34px 30px 26px;
  position:relative;
  overflow:hidden;
}

.styled-login-box:before{
  content:'';
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 220px at 18% 0%, rgba(48,199,211,.35), transparent 55%),
    radial-gradient(520px 240px at 85% 18%, rgba(211,116,93,.30), transparent 58%);
  pointer-events:none;
}

.styled-login-box > *{ position:relative; }

.styled-login-box h2{
  margin:0 0 22px;
  font-size:26px;
  line-height:1.15;
  letter-spacing:.2px;
}

.input-group{ position:relative; margin-bottom:14px; }

.input-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  opacity:.75;
  font-size:16px;
}

input[type="text"],
input[type="password"]{
  width:100%;
  padding:12px 14px 12px 40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color:var(--sp-text);
  outline:none;
  font-size:14px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder{ color: rgba(233,244,245,.55); }

input[type="text"]:focus,
input[type="password"]:focus{
  border-color: rgba(48,199,211,.55);
  box-shadow: 0 0 0 4px rgba(48,199,211,.12);
}

.login-btn,
.alt-btn{
  width:100%;
  border:none;
  border-radius:16px;
  padding:12px 14px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease, background .12s ease;
}

.login-btn{
  margin-top:8px;
  background: linear-gradient(135deg, var(--sp-primary), #30c7d3);
  color:#fff;
  box-shadow: 0 10px 24px rgba(48,199,211,.18);
}

.login-btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }

.alt-actions{ margin-top:16px; display:grid; gap:10px; }

.alt-btn{
  background: rgba(0,0,0,.20);
  color: var(--sp-text);
  border: 1px solid rgba(255,255,255,.14);
}

.alt-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(48,199,211,.35);
  background: rgba(0,0,0,.28);
}

.alt-btn.register{
  border-color: rgba(211,116,93,.40);
}

.alt-btn.register:hover{
  border-color: rgba(211,116,93,.65);
}

.pw-forgot{
  margin:12px 0 0;
  font-size:13px;
  color: rgba(233,244,245,.70);
  cursor:pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pw-forgot:hover{ color: rgba(233,244,245,.92); }

/* Responsive */
@media (max-width: 980px){
  .login-wrapper{ flex-direction:column; margin:28px auto; }
  .styled-login-box{ flex-basis:auto; }
}

.login_online_teaser{
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.login_online_title{
	display:flex;
	align-items:center;
	justify-content:space-between;
	font-weight:700;
	margin-bottom:10px;
}

.login_online_count{
	opacity: .8;
	font-weight:600;
}

.login_online_list{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	max-height: 130px;
	overflow:auto;
	padding-right:4px;
}

.login_online_pill{
	display:inline-flex;
	align-items:center;
	padding:6px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08);
	font-size: 12px;
	white-space: nowrap;
}

.login_online_hint{
	opacity:.75;
	font-size: 12px;
}

/* --- Sternpower Mini Player (Login) --- */
.sp-login-player{
  width:min(980px, calc(100% - 60px));
  margin: 28px auto 0;
  padding: 14px 16px;
  display:flex;
  align-items:center;
  gap:14px;

  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}

.sp-lp-btn{
  width:56px; height:56px; border-radius:14px;
  border:0;
  cursor:pointer;
  font-size:22px;
  font-weight:800;

  background:#00e5ff;
  color:#001014;
  box-shadow:0 0 18px rgba(0,229,255,.25);
  transition:.15s ease;
}
.sp-lp-btn:hover{ transform:scale(1.03); }
.sp-lp-btn.sp-playing{
  background:#ff2fbf;
  color:#fff;
  box-shadow:0 0 22px rgba(255,47,191,.25);
}

.sp-lp-meta{ flex:1; min-width:0; color:#fff; }
.sp-lp-top{
  display:flex; align-items:center; gap:10px;
  font-size:12px; opacity:.9;
}
.sp-lp-badge{
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
}
.sp-lp-badge.sp-live{ background: rgba(255,47,191,.16); border-color: rgba(255,47,191,.35); }
.sp-lp-badge.sp-auto{ background: rgba(0,229,255,.12); border-color: rgba(0,229,255,.30); }

.sp-lp-station{ font-weight:800; letter-spacing:.4px; }
.sp-lp-sep{ opacity:.35; }

.sp-lp-track{
  margin-top:6px;
  display:flex; gap:8px; align-items:baseline;
  font-size:14px;
}
.sp-lp-label{ opacity:.7; }
.sp-lp-title{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (max-width: 768px){
  .sp-login-player{ width: calc(100% - 24px); margin-top:18px; }
  .sp-lp-track{ font-size:13px; }
}

