:root {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial;
  --spotify-green: #1DB954;
  --spotify-dark: #121212;
  --spotify-gray: #181818;
  --spotify-light: #b3b3b3;
  --spotify-white: #ffffff;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: var(--spotify-dark);
  color: var(--spotify-white);
}

.card {
  background: var(--spotify-gray);
  padding: 2.2rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.6);
  width: 360px;
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--spotify-white);
}

p.subtext {
  color: var(--spotify-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  text-align: left;
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--spotify-light);
}

input {
  width: 100%;
  padding: .7rem;
  margin-top: .3rem;
  border-radius: 8px;
  border: none;
  background: #282828;
  color: var(--spotify-white);
  outline: none;
  transition: border 0.2s ease;
}

input:focus {
  border: 1px solid var(--spotify-green);
}

button {
  margin-top: 1.5rem;
  width: 100%;
  padding: .8rem;
  border-radius: 30px;
  border: none;
  background: var(--spotify-green);
  color: var(--spotify-white);
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background: #1ed760;
}

.divider {
  height: 1px;
  background: #333;
  margin: 1.5rem 0;
}

.msg {
  margin-top: .6rem;
  padding: .6rem;
  border-radius: 6px;
  font-size: .9rem;
}

.error {
  background: #9b1c1c;
  color: #fff;
}

.success {
  background: #045d2b;
  color: #fff;
}

.link {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  color: var(--spotify-light);
}

.link a {
  color: var(--spotify-green);
  text-decoration: none;
  font-weight: 600;
}

.link a:hover {
  text-decoration: underline;
}

#btn-logout {
  padding: .6rem 1rem;
  border-radius: 20px;
  border: 0;
  background: #e03a3a;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

#btn-logout:hover {
  background: #ff4d4d;
}
