/* styles.css */
:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --background-color: #f4f7fa;
  --text-color: #1e293b;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray-border: #e2e8f0;
  --success-color: #22c55e;
  --error-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  background-color: var(--white);
  max-width: 500px;
  width: 90%;
  margin: 20px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-container h2 {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

button:hover {
  background-color: #1d4ed8;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.auth-footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  padding: 15px 25px;
  border-radius: 8px;
  z-index: 1100;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.notification.success {
  background-color: var(--success-color);
  color: white;
}

.notification.error {
  background-color: var(--error-color);
  color: white;
}

/* Center the logo and set its size */
.logo {
  text-align: center;
  margin-bottom: 5px; /* Adjust the spacing as needed */
}

.logo img {
  max-width: 200px; /* Adjust as needed */
  height: auto;
}

@media (max-width: 600px) {
  .auth-container {
      margin: 15px;
      padding: 20px;
  }
  
  .auth-container h2 {
      font-size: 1.5rem;
      margin-bottom: 20px;
  }
  
  .form-group {
      margin-bottom: 15px;
  }
}
  