/* ================================
   RESET & BASE STYLES
================================ */

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

body {
  min-height: 100vh;
  padding: 40px 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #263238;
  background-color: #f3f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================
   AUTH LAYOUT & CARD
================================ */

.auth-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-card {
  background-color: #ffffff;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ================================
   HEADER SECTION
================================ */

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #263238;
  margin-bottom: 8px;
}

.auth-header p {
  font-size: 14px;
  color: #607d8b;
}

/* ================================
   FORM GROUPS & LABELS
================================ */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #37474f;
}

.label-row label {
  margin-bottom: 0;
}

.forgot-password-link {
  font-size: 12px;
  font-weight: 600;
  color: #315b7d;
  text-decoration: none;
  transition: color 0.15s ease;
}

.forgot-password-link:hover {
  color: #274b67;
  text-decoration: underline;
}

/* ================================
   INPUTS
================================ */

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #263238;
  background-color: #ffffff;
  border: 1px solid #b8c0c7;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder {
  color: #9aa3aa;
}

input:focus {
  border-color: #315b7d;
  box-shadow: 0 0 0 2px rgba(49, 91, 125, 0.12);
}

/* ================================
   BUTTONS
================================ */

.btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.99);
}

/* Primary Sign In Button */
.btn-primary {
  color: #ffffff;
  background-color: #315b7d;
  border: none;
  margin-top: 4px;
}

.btn-primary:hover {
  background-color: #274b67;
}

.btn-primary:active {
  background-color: #203f57;
}

/* Secondary Create Account Button */
.btn-secondary {
  color: #315b7d;
  background-color: #ffffff;
  border: 1px solid #315b7d;
}

.btn-secondary:hover {
  background-color: #f3f5f7;
  color: #274b67;
  border-color: #274b67;
}

/* ================================
   FOOTER (SIGN UP SWITCH)
================================ */

.auth-footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e1e5e8;
  text-align: center;
}

.auth-footer p {
  font-size: 13px;
  color: #607d8b;
  margin-bottom: 12px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 480px) {
  body {
    padding: 20px 12px;
  }

  .auth-card {
    padding: 24px 20px;
  }

  /* Mobil cihazlarda klavye açıldığında zoom yapmayı önlemek için */
  input[type="text"],
  input[type="password"],
  input[type="email"] {
    font-size: 16px;
  }
}