/* ===== Website Title Styling ===== */
.website-title {
  font-family: "ProcrastinatingPixie", Arial, sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: #4f46e5;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  line-height: 1.2;
  animation: fadeIn 1s ease-in-out;
}

/* ===== Global Styles ===== */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  line-height: 1.5;
  overflow: hidden; /* Prevent scrollbars caused by Vanta */
}

/* ===== Content Wrapper ===== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: relative;
}

/* ===== Login Wrapper ===== */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: 100%;
  padding: 1rem;
}

/* ===== Login Container ===== */
.login-container {
  background: rgba(255, 255, 255, 0.034); /* Slight transparency */
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border: 2px solid transparent;
}

/* Hover Effect for Login Container */
.login-container:hover {
  border: 2px solid #6365f12d;
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
}

/* ===== Title and Subtitle ===== */
.login-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.login-link {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.login-link:hover {
  color: #4f46e5;
  transform: translateY(-1px);
  font-weight: bold;
}

/* ===== Form Styling ===== */
.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-group {
  width: 100%;
  text-align: left;
}

.form-label {
  font-size: 0.875rem;
  color: #86909e;
  margin-bottom: 0.25rem;
  display: block;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-input:hover {
  border-color: #6366f1;
  box-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
}

.form-input:focus {
  border-color: #4f46e5;
  outline: none;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.4);
}

/* ===== Form Options (Remember Me + Forgot Password) ===== */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.875rem;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #86909e;
}

.form-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: #6366f1;
}

.form-link {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.form-link:hover {
  color: #4f46e5;
  transform: translateY(-1px);
  font-weight: bold;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .login-container {
    padding: 1.5rem;
    max-width: 380px;
  }

  .website-title {
    font-size: 2rem;
  }

  .login-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 1rem;
    max-width: 300px;
  }

  .website-title {
    font-size: 2rem;
  }

  .login-title {
    font-size: 1rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
