:root {
  --primary-color: #64ffda; /* Cyan Glow */
  --secondary-color: rgba(255, 255, 255, 0.7);
  --dark-color: #0a192f; /* Deep Navy */
  --light-color: #e6f1ff;
  --danger-color: #e74c3c;
  --glass-bg: rgba(17, 34, 64, 0.6);
  --border-glow: rgba(100, 255, 218, 0.6);
}

/* Background Gradient with subtle animation */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a192f, #112240, #0a192f);
  background-size: 200% 200%;
  animation: bgShift 20s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: var(--light-color);
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glassmorphism Login Card */
.login-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  width: 100%;
  max-width: 420px;
  text-align: center;
  border: 1px solid rgba(100, 255, 218, 0.3);
  animation: floatUp 1.5s ease forwards;
}

@keyframes floatUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Title with cyan shimmer */
.site-title {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--primary-color), #a8faff, var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: cyanShine 5s linear infinite;
  margin: 0 0 8px;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

@keyframes cyanShine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.tagline {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-style: italic;
}

/* Tabs Styling */
.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.tabs button {
  padding: 10px 18px;
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: var(--secondary-color);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tabs button.active-tab {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: bold;
}

.tabs button:hover {
  color: var(--primary-color);
}

/* Forms */
.form {
  display: none;
  flex-direction: column;
}

.form.active-form {
  display: flex;
}

.form input {
  margin-bottom: 14px;
  padding: 12px;
  font-size: 15px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 8px;
  outline: none;
  background: rgba(17, 34, 64, 0.6);
  color: var(--light-color);
  transition: all 0.3s ease;
}

.form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 12px var(--border-glow);
  background: rgba(17, 34, 64, 0.8);
}

/* Button with cyan glow */
.form button {
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-color), #46c9a7);
  color: #0a192f;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.form button:hover {
  box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color);
  transform: scale(1.05);
}

/* Error Messages */
#error-msg,
#login-error-msg,
#signup-error-msg {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--danger-color);
  background: rgba(231, 76, 60, 0.1);
  padding: 6px;
  border-radius: 6px;
}
header h1 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.5rem;  /* bigger for stylish effect */
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.9);
  letter-spacing: 2px;
}
body {
  margin: 0;
  padding: 0;
  background: url('images/2151073985.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
}
#reset-msg {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--primary-color);
}
