/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* ===== Header ===== */
.header {
  width: 100%;
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #eee;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  width: 36px;
  height: 36px;
  background-color: #2563eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #000;
}

/* ===== Login Container ===== */
.login-container {
  width: 100%;
  max-width: 420px;
  padding: 40px 20px;
}

/* Back link */
.back-link {
  margin-bottom: 25px;
}

.back-link a {
  font-size: 14px;
  text-decoration: none;
  color: #6b7280;
  display: flex;
  align-items: center;
}

.back-link a:hover {
  color: #111827;
}

.back-link i {
  margin-right: 6px;
}

/* ===== Login Box ===== */
.login-form-box {
  background: white;
  padding: 40px 30px;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.login-form-box h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-form-box p {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-bottom: 28px;
}

/* ===== Form Fields ===== */
label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.input-group {
  margin-bottom: 16px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background-color: #f9fafb;
  transition: border 0.3s ease;
}

.input-group input:focus {
  background-color: white;
  outline: none;
  border: 1px solid #2563eb;
  box-shadow: 0 0 4px rgba(37, 99, 235, 0.3);
}

.password-group {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  cursor: pointer;
}

/* ===== Options Row ===== */
.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 25px;
  font-size: 13px;
}

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

.forgot-password {
  color: #2563eb;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* ===== Submit Button ===== */
.sign-in-button {
  width: 100%;
  padding: 12px 0;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s;
}

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

.sign-in-button:active {
  transform: scale(0.98);
}

/* ===== Signup Prompt ===== */
.signup-prompt {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-top: 20px;
}

.request-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.request-link:hover {
  text-decoration: underline;
}
/* ---------------- Responsive Design ---------------- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .login-container {
    padding: 30px 20px;
  }

  .login-form-box {
    padding: 30px 20px;
  }
}
