/* auth stilleri: bu dosya ilgili arayuzun gorunumu icin CSS kurallarini icerir. */
:root {
  --cream: #f7f2ea;
  --cream-deep: #ebe2d2;
  --ink: #1a2830;
  --ink-soft: #5f6f74;
  --teal: #1f8a84;
  --teal-deep: #135d58;
  --gold: #b67e28;
  --panel: rgba(255, 252, 247, 0.9);
  --border: rgba(26, 40, 48, 0.12);
  --shadow: 0 32px 60px rgba(20, 28, 33, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.22), transparent 20%),
    radial-gradient(circle at 85% 15%, rgba(182, 126, 40, 0.22), transparent 18%),
    radial-gradient(circle at 80% 80%, rgba(19, 93, 88, 0.12), transparent 18%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: #7d8a8f;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.auth-showcase,
.auth-card {
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.auth-showcase {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(18, 45, 53, 0.96), rgba(15, 33, 39, 0.98)),
    linear-gradient(180deg, rgba(31, 138, 132, 0.2), transparent);
  color: rgba(255, 255, 255, 0.92);
}

.auth-showcase::before,
.auth-showcase::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.auth-showcase::before {
  width: 16rem;
  height: 16rem;
  top: -4rem;
  right: -5rem;
}

.auth-showcase::after {
  width: 10rem;
  height: 10rem;
  bottom: 2rem;
  left: -2rem;
}

.auth-brand {
  position: relative;
  max-width: 35rem;
}

.auth-brand h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
}

.auth-brand p:last-child {
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  line-height: 1.7;
}

.auth-highlights {
  position: relative;
  display: grid;
  gap: 0.95rem;
}

.auth-highlights article {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.auth-highlights strong,
.auth-highlights span {
  display: block;
}

.auth-highlights span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.7rem;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.auth-card-head h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
}

.auth-card-head p:last-child {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--ink-soft);
}

.auth-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(31, 138, 132, 0.48);
  box-shadow: 0 0 0 4px rgba(31, 138, 132, 0.12);
}

.auth-submit {
  margin-top: 0.5rem;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--teal-deep));
  color: white;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(19, 93, 88, 0.2);
}

.auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-message {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-weight: 600;
}

.auth-message.error {
  background: rgba(187, 79, 79, 0.14);
  color: #9d3d3d;
}

.auth-message.success {
  background: rgba(42, 122, 87, 0.14);
  color: #246a4c;
}

.auth-message.info {
  background: rgba(44, 109, 179, 0.14);
  color: #245e99;
}

.auth-footnote {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .auth-shell {
    padding: 1rem;
  }

  .auth-showcase,
  .auth-card {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .auth-footnote {
    flex-direction: column;
  }
}

:root { --accent: #4f46e5; }