:root {
  /* Light Theme */
  --primary-light: #2c3e50;
  --secondary-light: #3498db;
  --accent-light: #1db954; /* Spotify green */
  --background-light: #f8f9fa;
  --card-light: #ffffff;
  --text-light: #191414; /* Spotify black */
  --text-secondary-light: #535353;
  
  /* Dark Theme */
  --primary-dark: #121212; /* Spotify dark bg */
  --secondary-dark: #1db954; /* Spotify green */
  --accent-dark: #1ed760; /* Spotify light green */
  --background-dark: #000000;
  --card-dark: #181818; /* Spotify card dark */
  --text-dark: #ffffff;
  --text-secondary-dark: #b3b3b3;
  
  /* Current Theme - Default to Dark */
  --primary: var(--primary-dark);
  --secondary: var(--secondary-dark);
  --accent: var(--accent-dark);
  --background: var(--background-dark);
  --card: var(--card-dark);
  --text: var(--text-dark);
  --text-secondary: var(--text-secondary-dark);
}

[data-theme="light"] {
  --primary: var(--primary-light);
  --secondary: var(--secondary-light);
  --accent: var(--accent-light);
  --background: var(--background-light);
  --card: var(--card-light);
  --text: var(--text-light);
  --text-secondary: var(--text-secondary-light);
}

/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--text);
  transition: all 0.3s ease;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Login Page Styles */
.password-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(5px);
}

.password-box {
  background: var(--card);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.password-box h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.password-box .form-control {
  padding: 12px 15px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.password-box .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(29, 185, 84, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.password-box .btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  width: 100%;
  margin-top: 1rem;
  background-color: var(--accent);
  border: none;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.password-box .btn:hover {
  background-color: var(--accent);
  transform: scale(1.02);
}

.password-error {
  color: #ff4d4d;
  margin-top: 1rem;
  font-weight: 500;
  display: none;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-container i {
  color: white;
  font-size: 2rem;
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--card);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Loading Spinner */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 3rem;
  height: 3rem;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .password-box {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}