/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #f5f5f5;
}

.login-container {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

.login-header {
  background-color: #6e1445;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.login-header h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.login-header p {
  margin-top: 8px;
  opacity: 0.9;
  font-size: 14px;
}

.login-form {
  padding: 30px;
}

.form-divider {
  height: 2px;
  background-color: #6e1445;
  margin-bottom: 25px;
  position: relative;
}

.form-divider::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 10px;
  background-color: #6e1445;
  border-radius: 5px;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.form-input:focus {
  outline: none;
  border-color: #6e1445;
  box-shadow: 0 0 0 2px rgba(110, 20, 69, 0.1);
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-checkbox {
  margin-right: 8px;
}

.remember-label {
  color: #333;
  font-size: 14px;
}

.forgot-link {
  color: #6e1445;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: #4a0e30;
}

.login-button {
  width: 100%;
  padding: 12px;
  background-color: #6e1445;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #4a0e30;
}

.signup-section {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.signup-text {
  color: #666;
  font-size: 14px;
}

.signup-link {
  color: #6e1445;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.signup-link:hover {
  color: #4a0e30;
}

.error-message {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

@media (max-width: 480px) {
  .login-container {
    margin: 20px;
  }

  .login-form {
    padding: 20px;
  }
}
/* Add to your existing CSS */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
