/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Full-page background */
body {
  background:url(asset/ChatGPT\ Image\ Aug\ 8\,\ 2025\,\ 02_37_04\ PM.png);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

header {
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

header .logo {
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  color: white;
}
#darkModeToggle {
  font-size: 18px;
  padding: 6px 10px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

/* Main section centers form */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px; /* space for fixed header */
}

/* Form container styling */
.auth-container {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 350px;
}

/* Title */
.auth-container h2 {
  margin-bottom: 20px;
  color: #333;
}

/* Input fields */
.form-group input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: #2575fc;
  box-shadow: 0 0 5px rgba(37, 117, 252, 0.5);
}

/* Button styling */
.form-group button {
  width: 100%;
  padding: 12px;
  background: #2575fc;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-group button:hover {
  background: #1a5ed0;
}

/* Sign up link */
.auth-container p {
  margin-top: 15px;
}

.auth-container a {
  color: #2575fc;
  text-decoration: none;
  font-weight: bold;
}

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

/* 🌙 Dark Mode Styles */
body.dark-mode {
  background: #121212 !important;
  color: white;
}

/* Dark Mode - Header */
body.dark-mode header {
  background: rgba(20, 20, 20, 0.7);
}

body.dark-mode header .logo {
  color: white;
}

body.dark-mode #darkModeToggle {
  color: white;
}

/* Dark Mode - Form Container */
body.dark-mode .auth-container {
  background: #1e1e1e;
  color: white;
}

body.dark-mode .auth-container h2 {
  color: white;
}

body.dark-mode .form-group input {
  background: #2a2a2a;
  color: white;
  border: 1px solid #555;
}

body.dark-mode .form-group input:focus {
  border-color: #00bfff;
}

body.dark-mode .form-group button {
  background: #00bfff;
}

body.dark-mode .form-group button:hover {
  background: #0099cc;
}

body.dark-mode .auth-container a {
  color: #00bfff;
}
