*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-1: #08111f;
  --bg-2: #101b31;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(255, 255, 255, 0.18);
  --text: #162033;
  --muted: #667085;
  --primary: #c8a66a;
  --primary-dark: #b28a46;
  --white: #ffffff;
  --line: rgba(22, 32, 51, 0.12);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 166, 106, 0.12), transparent 20%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  color: var(--text);
  min-height: 100%;
}

body {
  min-height: 100vh;
}

.auth-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.auth-bg-shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(200, 166, 106, 0.18);
  top: 5%;
  left: -80px;
}

.auth-bg-shape-2 {
  width: 360px;
  height: 360px;
  background: rgba(85, 125, 255, 0.14);
  right: -120px;
  bottom: -80px;
}

.auth-wrapper {
  width: 100%;
  max-width: 1220px;
  position: relative;
  z-index: 2;
}

.auth-card {
  position: relative;
  width: 100%;
  min-height: 760px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* PANELLER */
.auth-panel {
  position: absolute;
  top: 0;
  width: calc(100% - 360px);
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  transition: transform var(--transition), opacity var(--transition);
}

.auth-panel--signin {
  left: 0;
  z-index: 2;
}

.auth-panel--signup {
  left: 0;
  transform: translateX(100%);
  z-index: 1;
}

.panel-inner {
  height: 100%;
  overflow-y: auto;
  padding: 48px 42px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(200, 166, 106, 0.14);
  color: #8a6427;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.panel-inner h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: #0f1728;
}

.panel-desc {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 540px;
}

/* YAN KISIM */
.auth-side {
  position: absolute;
  right: 0;
  top: 0;
  width: 360px;
  height: 100%;
  z-index: 5;
  overflow: hidden;
background-image:
  linear-gradient(180deg, rgba(7, 12, 22, 0.22), rgba(7, 12, 22, 0.35)),
  url("video/GTE-LOGO.webp");
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%, 50%;
transition: transform var(--transition);
}

.side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 33, 0.12), rgba(10, 18, 33, 0.82));
}

.side-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 60px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  text-align: left;
  transition: transform var(--transition), opacity var(--transition);
}

.side-content--signup {
  transform: translateY(0);
  opacity: 1;
}

.side-content--signin {
  transform: translateY(60px);
  opacity: 0;
}

.side-mini {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.side-content h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
}

.side-content p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

/* FORM */
.auth-form {
  width: 100%;
  max-width: 520px;
}

.auth-form--grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}

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

.input-group.full {
  grid-column: 1 / -1;
}

.input-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.95);
  padding: 15px 16px;
  font-size: 14px;
  color: #0f1728;
  transition: 0.25s ease;
  outline: none;
}

.input-group textarea {
  resize: vertical;
  min-height: 110px;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: rgba(200, 166, 106, 0.8);
  box-shadow: 0 0 0 4px rgba(200, 166, 106, 0.12);
  background: #fff;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #98a2b3;
}

.form-row {
  display: flex;
  align-items: center;
  margin: 16px 0 10px;
}

.form-row--between {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.checkbox-wrap input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-dark);
}

.text-link {
  color: #7b5a25;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* BUTONLAR */
.btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  margin-top: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(178, 138, 70, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(178, 138, 70, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(22, 32, 51, 0.14);
  color: #243247;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.04);
}

.switch-btn {
  width: 100%;
  max-width: 180px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ANİMASYON */
.auth-card.signup-active .auth-side {
  transform: translateX(-860px);
}

.auth-card.signup-active .auth-panel--signin {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.auth-card.signup-active .auth-panel--signup {
  transform: translateX(0);
  z-index: 4;
  opacity: 1;
}

.auth-card.signup-active .side-content--signup {
  transform: translateY(-60px);
  opacity: 0;
}

.auth-card.signup-active .side-content--signin {
  transform: translateY(0);
  opacity: 1;
}

/* SCROLL */
.panel-inner::-webkit-scrollbar {
  width: 8px;
}

.panel-inner::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .auth-card {
    min-height: 900px;
  }

  .auth-side {
    width: 320px;
  }

  .auth-panel {
    width: calc(100% - 320px);
  }

  .auth-card.signup-active .auth-side {
    transform: translateX(calc(-100% + 320px));
  }
}

@media (max-width: 900px) {
  .auth-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .auth-panel,
  .auth-side {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    height: auto;
    transform: none !important;
  }

  .auth-panel--signup {
    display: none;
  }

  .auth-card.signup-active .auth-panel--signin {
    display: none;
  }

  .auth-card.signup-active .auth-panel--signup {
    display: block;
  }

  .auth-side {
    order: -1;
    min-height: 280px;
  }

  .side-content {
    padding: 40px 24px;
  }

  .side-content--signin,
  .side-content--signup {
    opacity: 1;
    transform: none;
  }

  .auth-card.signup-active .side-content--signup {
    display: none;
  }

  .auth-card:not(.signup-active) .side-content--signin {
    display: none;
  }

  .panel-inner {
    padding: 30px 22px;
  }
}

@media (max-width: 640px) {
  .auth-page {
    padding: 16px;
  }

  .auth-card {
    border-radius: 22px;
  }

  .panel-inner h2,
  .side-content h2 {
    font-size: 28px;
  }

  .auth-form--grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .switch-btn {
    border-radius: 14px;
  }
}