/* ================================
   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: 480px;
  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: 24px;
}

.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: 18px;
}

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

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

/* ================================
   INPUTS & SELECT
================================ */

input[type="text"],
input[type="email"],
input[type="password"],
select {
  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;
}

select {
  cursor: pointer;
}

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

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

/* ================================
   CHECKBOX & TERMS
================================ */

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #315b7d;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 400;
  color: #607d8b;
  cursor: pointer;
}

.checkbox-group a {
  color: #315b7d;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* ================================
   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 Button (Create Account) */
.btn-primary {
  color: #ffffff;
  background-color: #315b7d;
  border: none;
  margin-top: 6px;
}

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

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

/* Secondary Button (Sign In Redirect) */
.btn-secondary {
  color: #315b7d;
  background-color: #ffffff;
  border: 1px solid #315b7d;
}

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

/* ================================
   FOOTER (SIGN IN REDIRECT)
================================ */

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

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

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

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

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

  input[type="text"],
  input[type="email"],
  input[type="password"],
  select {
    font-size: 16px; /* Mobil cihazlarda otomatik zoom yapmayı önler */
  }
}