/* 1. FONTU İÇE AKTAR */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html,
body {
  height: 100%;
  overflow: hidden;
}

.auth-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 100%
  ); /* Mavi geçişi buraya ekledik */
  padding: 110px 20px 60px 20px;
  position: relative;
  overflow: hidden; /* Resmin taşmasını engeller */
}

/* KAPSAYICININ DIŞINDA OLMALI */
.auth-wrapper::before {
  content: "";
  position: absolute;
  top: 100px;
  right: 1150px;
  width: 300px;
  height: 300px;
  background-image: url("/images/cholate.png"); /* Dosya uzantısını (png/jpg) kontrol et */
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(220deg);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}
/* Sol alt köşe için yeni katman */
.auth-wrapper::after {
  content: "";
  position: absolute;
  bottom: 300px; /* Alttan mesafe */
  left: 1110px; /* Soldan mesafe (hafif dışarı taşırırsan şık durur) */
  width: 300px; /* İsteğine göre boyutu ayarla */
  height: 300px;
  background-image: url("/images/cereal.png"); /* Buraya yeni resminin yolunu yaz */
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(150deg); /* Sola doğru çapraz durması için eksi değer */
  opacity: 0.2; /* Sağdakinden biraz daha hafif olabilir */
  pointer-events: none;
  z-index: 1; /* Yine kartın arkasında kalsın */
}

/* Sağ alt köşe görseli */
.bg-image-right-bottom {
  content: "";
  position: absolute;
  bottom: 20px; /* Alttan mesafe */
  right: 1150px; /* Sağdan mesafe */
  width: 280px; /* Diğerleriyle uyumlu olması için boyut */
  height: 280px;
  background-image: url("/images/cips.png"); /* Buraya yeni resminin yolunu yaz */
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(40deg); /* Çapraz duruş */
  opacity: 0.2; /* Diğerleriyle aynı opaklık */
  pointer-events: none; /* Tıklamayı engellemez */
  z-index: 1; /* Kartın arkasında kalır */
}

/* 4. GÖRSEL ARKA PLANLI KAYIT KARTI */
.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 45px;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
    url("/images/2.png");
  background-size: 450px;
  background-position: center;

  border-radius: 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  z-index: 10;
  text-align: center;
  position: relative;
}

/* 5. BAŞLIKLAR */
.auth-header {
  margin-bottom: 30px;
  position: relative; /* Resmin üstünde net durması için */
}

.auth-header h2 {
  color: #1679ab;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.auth-header p {
  color: #64748b;
  font-size: 14px;
  font-weight: 400;
}

/* 6. FORM VE INPUTLAR */
.auth-form {
  position: relative; /* İçeriğin arka planın üstünde kalması için */
}

.input-row {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;
}

.input-group {
  flex: 1;
  margin-bottom: 18px;
  text-align: left;
}

.input-group label {
  display: block;
  color: #1679ab;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(
    241,
    245,
    249,
    0.8
  ); /* Arka planın hafif görünmesi için şeffaflık */
  border: 2px solid transparent;
  border-radius: 12px;
  color: #1e293b;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  background: #ffffff;
  border-color: #1679ab;
  box-shadow: 0 0 0 4px rgba(22, 121, 171, 0.1);
}

/* 7. KVKK VE BUTON */
.kvkk-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  text-align: left;
}

.kvkk-check input {
  accent-color: #1679ab;
  margin-top: 4px;
}

.kvkk-check label {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.btn-register {
  width: 100%;
  padding: 15px;
  background: #1679ab;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-register:hover {
  background: #0e5e86;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(22, 121, 171, 0.2);
}

/* 8. AYIRICI VE SOSYAL İKONLAR */
.divider {
  margin: 30px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

.divider span {
  background: #ffffff; /* Yazının arkasındaki beyazlık deseni kapatır */
  padding: 0 15px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  position: relative;
}

.social-auth-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icon-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  color: #475569;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  border-color: #1679ab;
  color: #1679ab;
  background: #f0f9ff;
  transform: translateY(-3px);
}

/* 9. FOOTER */
.auth-footer {
  color: #64748b;
  font-size: 14px;
  position: relative;
}

.auth-footer a {
  color: #1679ab;
  text-decoration: none;
  font-weight: 700;
  margin-left: 5px;
}
/* 📱 MOBİL DÜZEN - SON HAL */
@media (max-width: 768px) {
  .auth-wrapper {
    padding-top: 80px; /* header yüksekliği */
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;

    min-height: 100vh;
    justify-content: flex-start;
  }

  /* ARKA PLAN GÖRSELLERİ KAPAT */
  .auth-wrapper::before,
  .auth-wrapper::after,
  .bg-image-right-bottom {
    display: none;
  }

  /* CARD FULL EKRAN */
  .auth-card {
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 80px); /* header düşülmüş hali */

    border-radius: 0;
    padding: 30px 20px;

    box-shadow: none;
    border: none;

    background-size: cover;
    background-position: center;
  }

  /* INPUTLAR ALT ALTA */
  .input-row {
    flex-direction: column;
    gap: 0;
  }

  /* BUTON DAHA RAHAT */
  .btn-register {
    padding: 16px;
    font-size: 17px;
  }
}
@media (max-width: 768px) {
  html,
  body {
    overflow: hidden;
  }

  .auth-wrapper {
    height: 100vh;
  }

  .auth-card {
    height: calc(100vh - 80px); /* header varsa */
    overflow-y: auto;
  }
}
.input-group input {
  border-radius: 14px !important;
  border: 2px solid transparent;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-clip: padding-box;
}

/* focus durumu */
.input-group input:focus {
  border-radius: 14px !important;
  border-color: #1679ab;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 121, 171, 0.15);
}

.auth-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-check input {
    width: 16px;
    height: 16px;
    accent-color: #1679ab;
    cursor: pointer;
}

.remember-check span {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.forgot-link {
    font-size: 13px;
    color: #1679ab;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.forgot-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}
