html, body {
  margin: 0; padding: 0; font-family: 'Open Sans', sans-serif; height:100%; width:100%;
}

.content {
  display: flex; min-height: 100vh;
}

.content-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  min-height: 100vh;
}

.content-right {
 flex: 1;
  height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, rgba(119,114,219,0.6), rgba(14,86,99,0.6)), 
              url('./download.png') no-repeat center center;
  background-size: cover;
  padding: 5% 5em;
  text-align: center;
}


.content-right-subcontent {
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  background: rgba(255, 255, 255, 0.1); 
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  margin-bottom: 150px; 
}
.form-wrapper {
  background: linear-gradient(135deg, #ffffff, #f0f4f8);
  padding: 15px 25px;         /* Daha az iç boşluk */
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  width: min(380px, 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;                   /* Eleman arası boşluk minimum */
  margin-top: -20px;          /* Yukarı taşır */
  margin: auto;               /* dikey hizayı otomatik ayarlar */
  height: auto;               /* sabit yükseklik kalkar */
  min-height: fit-content;    /* içerik kadar uzar */
}

.logo img {     
    width:340px; display:block;  
    margin: 40px auto 20px auto; /* Yukarıdan boşluk ekler, aşağı indirir */ }
.text-title { text-align:center; font-size:26px; font-weight:700; margin: 5px 0 20px 0; color:#222; }

.field-group { margin-bottom:0.6em; position:relative;}
.input {
    width: 100%;            /* %75 yerine %100 */
  padding: 12px 45px 12px 14px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box; /* Taşmayı engeller */
}
.input:focus { border-color:#4f46e5; box-shadow:0 0 0 2px rgba(79,70,229,0.2); }

.btn-submit {
  width:100%; padding:12px;
  background: linear-gradient(135deg, #261939, #4b2f73);
  color:#fff; border:none; border-radius:10px; font-weight:600; cursor:pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-submit:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,0.25); }

.password-group .toggle-password {
  position: absolute;
  top: 35px;              /* Etiketten sonra hizalar */
  right: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 20px;
}
.password-group label {
  display: block; margin-bottom: 6px;
}
.eye.is--show, .eye-off.is--show { display:inline-block; }
.eye.is--hide, .eye-off.is--hide { display:none; }

.checkbox-label {   display: flex;
  align-items: center;
  justify-content: center; !important; /* yatay ortalama */
  gap: 6px;
  font-size: 14px;
  margin-bottom: 0px;          /* Alt boşluğu azaltır */ 
  width: 100%;          /* tam genişlikte */
  text-align: center;   /* metin ortalaması */
  margin: 0 auto;       /* kapsayıcı ortalaması */
}
  
  .field-group label {
  display: block;
  margin-bottom: 5px; /* Etiket ile input arasında boşluk oluşturur */
  font-weight: 500;
}

.checkbox-label input { accent-color:#4f46e5; width:16px;   justify-content: center; /* tekrar ortalar */ height:16px; }
.checkbox-checkmark::after { display:block; }

#popup-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#popup-background {
  position: absolute;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);   /* Buğulama efekti */
  background: rgba(0,0,0,0.3);  /* Hafif karartma */
}

#popup-content {
  position: relative;
  background:#fff; padding:40px; border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  width:min(90vw,500px); text-align:center; z-index:10;
}

#popup-content a {
  display:inline-block;
  margin-top:15px;
  padding:10px 20px;
  background:linear-gradient(135deg, #261939, #4b2f73);
  color:#fff; border-radius:8px; text-decoration:none;
}
#popup-content a:hover { opacity:0.8; }

#popup-container:not(.active) { display: none; }

.text-center {
 text-align: center;
  margin-top: 0px;              /* "Şifremi Unuttum" hizalaması */
}
.text-center a {
   font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}
.text-center a:hover {
  text-decoration: underline;
}

/* "Beni Hatırla" etiketini ortala */


@media screen and (max-width:768px) {
  .content { flex-direction:column; }
  .content-right { display:none; }
  .form-wrapper { padding:35px; width:90%; }
}
