@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --green: #1c5847;
  --green-dark: #153f35;
  --orange: #e87743;
  --cream: #f7f4ed;
  --paper: #fffefa;
  --ink: #18322b;
  --muted: #65766f;
  --line: #dfe5df;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(430px, 0.92fr);
}

.login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px clamp(36px, 6vw, 82px) 70px;
  color: white;
  background:
    radial-gradient(circle at 75% 22%, rgba(232, 119, 67, 0.28), transparent 24%),
    radial-gradient(circle at 24% 82%, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--green-dark);
}

.login-visual::before,
.login-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.login-visual::before {
  width: 520px;
  height: 520px;
  right: -250px;
  top: -160px;
}

.login-visual::after {
  width: 340px;
  height: 340px;
  left: -170px;
  bottom: -120px;
}

.visual-brand,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.visual-mark,
.mobile-brand span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 15px 15px 15px 5px;
  color: var(--green-dark);
  background: white;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.visual-brand strong,
.mobile-brand strong {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 19px;
}

.travel-line {
  position: relative;
  width: min(90%, 520px);
  height: 170px;
  margin: auto;
}

.travel-path {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 75px;
  height: 55px;
  border-top: 3px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.travel-pin {
  position: absolute;
  z-index: 2;
  width: 35px;
  height: 35px;
  border: 9px solid var(--orange);
  border-radius: 50% 50% 50% 4px;
  background: white;
  transform: rotate(-45deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.pin-a {
  left: 27px;
  top: 70px;
}

.pin-b {
  right: 25px;
  top: 28px;
  border-color: #72aa8f;
}

.visual-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.visual-copy > span,
.eyebrow {
  color: #f5a47d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.visual-copy h1 {
  margin: 10px 0 13px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.visual-copy p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
  background:
    radial-gradient(circle at 85% 12%, rgba(232, 119, 67, 0.08), transparent 24%),
    var(--paper);
}

.login-card {
  width: min(100%, 390px);
}

.login-card h2 {
  margin: 7px 0 7px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.login-card > p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
}

.login-card form,
.login-card label {
  display: grid;
}

.login-card form {
  gap: 15px;
}

.login-card label span {
  margin: 0 0 7px 2px;
  font-size: 10px;
  font-weight: 800;
}

.login-card input {
  width: 100%;
  height: 51px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fbfaf6;
  font: inherit;
  font-size: 13px;
}

.login-card input:focus {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 4px rgba(28, 88, 71, 0.09);
  outline: 0;
}

.login-card button {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--green);
  box-shadow: 0 12px 25px rgba(28, 88, 71, 0.2);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.login-card button:hover {
  background: var(--green-dark);
}

.login-error {
  margin-bottom: 17px;
  padding: 11px 13px;
  border: 1px solid #efc8c1;
  border-radius: 11px;
  color: #9b4035;
  background: #fff3f0;
  font-size: 10px;
  line-height: 1.45;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  color: #82918b;
  font-size: 9px;
}

.secure-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4da57a;
  box-shadow: 0 0 0 4px rgba(77, 165, 122, 0.12);
}

.mobile-brand {
  display: none;
}

@media (max-width: 850px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    align-content: center;
    gap: 45px;
    padding: 28px 20px;
  }

  .mobile-brand {
    display: flex;
  }

  .mobile-brand span {
    color: white;
    background: var(--green);
  }
}

.google-login-button {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #d9e2df;
  border-radius: 14px;
  color: #253b34;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 63, 53, 0.08);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.google-login-button:hover {
  border-color: #9db9ae;
  background: #f8fbfa;
}

.google-login-button > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e6e5;
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  font-weight: 900;
}

.login-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  color: #98a49f;
  font-size: 8px;
  text-transform: uppercase;
}

.login-separator::before,
.login-separator::after {
  height: 1px;
  flex: 1;
  content: "";
  background: #e5ebe9;
}

.admin-login-form {
  margin-top: 0;
}

.login-setup-note {
  margin-bottom: 17px;
  padding: 11px 13px;
  border: 1px solid #ead9ad;
  border-radius: 11px;
  color: #765d1d;
  background: #fff9e9;
  font-size: 9px;
  line-height: 1.5;
}

.privacy-note {
  display: block;
  margin-top: 10px;
  color: #9aa5a1;
  text-align: center;
  font-size: 8px;
  line-height: 1.5;
}

/* Daha okunaklı giriş ekranı */
.login-card > p {
  font-size: 14px;
  line-height: 1.55;
}

.login-card label span {
  font-size: 12px;
}

.login-card input {
  font-size: 15px;
}

.login-card button,
.google-login-button {
  font-size: 14px;
}

.login-error,
.login-setup-note {
  font-size: 12px;
}

.secure-note {
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.privacy-note,
.login-separator {
  font-size: 10px;
}

@media (max-width: 850px) {
  .login-panel {
    gap: 28px;
    padding: 24px 16px;
  }

  .login-card {
    width: min(100%, 440px);
  }

  .login-card h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .login-card input {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .mobile-brand span {
    width: 40px;
    height: 40px;
    border-radius: 12px 12px 12px 4px;
  }

  .mobile-brand strong {
    font-size: 17px;
  }

  .login-card h2 {
    font-size: 26px;
  }
}
