.login-container {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 72px;
  margin-top: 10px;
}

.login-box {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.6s ease-out;
}

/* Override homepage.css logo styles for login page */
body > .logo {
  margin-top: 0 !important;
}

header .logo {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.login-header {
  text-align: center;
  margin-bottom: 35px;
}

.login-header h1 {
  font-family: 'Maiden Orange', serif;
  font-size: 42px;
  color: #3b2f2f;
  margin-bottom: 10px;
}

.login-header p {
  font-family: 'Markazi Text', serif;
  font-size: 18px;
  color: #5a4545;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3b2f2f;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1px solid rgba(59, 47, 47, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
  color: #3b2f2f;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(59, 47, 47, 0.5);
}

.form-group input:focus {
  border-color: #3b2f2f;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 47, 47, 0.1);
}

.login-btn {
  width: 100%;
  padding: 16px 28px;
  background: #3b2f2f;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.login-btn:hover {
  background: #5a4545;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(59, 47, 47, 0.35);
}

.login-btn .fa-arrow-right {
  transition: transform 0.3s ease;
}

.login-btn:hover .fa-arrow-right {
  transform: translateX(5px);
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 25px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5a4545;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #3b2f2f;
}

.back-link i {
  margin-right: 5px;
}

.back-link-box {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #3b2f2f;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link-box:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-3px);
}

.box-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
  padding: 0 5px;
}

.form-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  flex: 1;
}

.toggle-btn {
  flex: 1;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5a4545;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.toggle-btn.active {
  background: #3b2f2f;
  color: #fff;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.login-header {
  text-align: center;
  margin-bottom: 20px;
}

.create-account-link {
  text-align: center;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5a4545;
}

.create-account-link p {
  margin: 0;
}

.create-account-link a {
  color: #3b2f2f;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.create-account-link a:hover {
  color: #5a4545;
  text-decoration: underline;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #dc2626;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-bottom: 15px;
  display: none;
}

.error-message.show {
  display: block;
  animation: shake 0.5s ease;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #16a34a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-bottom: 15px;
  display: none;
}

.success-message.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  .login-container {
    padding: 20px;
  }
  
  .login-box {
    padding: 35px 25px;
  }
  
  .login-header h1 {
    font-size: 32px;
  }
}

