body {
  margin: 0;
  background: #0F212C; /* tüm sayfa arka planı */
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.ek-register {
  --brand:#0F212C;
  --panel:#142d4c;
  --field:#0f2133;
  --field-focus:#18324f;
  --accent:#66aaff;
  --ink:#f0f4fa;
  --muted:#a0b1cc;
  --radius:14px;
  --shadow:0 10px 28px rgba(0,0,0,.35);
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  margin: 2rem auto;
  max-width: 760px;
  background: var(--panel);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font);
  color: var(--ink);
}

.ek-register__title {
  margin: 0 0 1.5rem;
  text-align: center;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
}

.ek-register__form {
  display: grid;
  gap: 1.4rem;
}

.ek-field { display: grid; gap: .5rem; }

.ek-field label {
  font-weight: 700;
  font-size: .95rem;
  color: #dbe7f4;
}

.ek-field input,
.ek-field select {
  padding: .8rem 1rem;
  border-radius: 10px;
  border: 1px solid #22384f;
  background: var(--field);
  color: #fff;
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}

.ek-field input:focus,
.ek-field select:focus {
  border-color: var(--accent);
  background: var(--field-focus);
  outline: none;
}

.ek-field input::placeholder { color: var(--muted); }

.ek-hint {
  font-size: .8rem;
  color: var(--muted);
}

.ek-row-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1rem;
}

.ek-checks {
  border: 1px solid #22384f;
  border-radius: 10px;
  padding: 1rem;
  display: grid;
  gap: .8rem;
}
.ek-checks legend {
  font-weight: 700;
  margin-bottom: .5rem;
}
.ek-check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.ek-check input { margin-top: .25rem; }
.ek-check .text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.ek-check .text a:hover { color: #9acbff; }

.ek-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: background .2s, transform .06s;
}
.ek-btn:hover { background: #f0f0f0; }
.ek-btn:active { transform: translateY(1px); }

.ek-message {
  min-height: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.ek-login-cta {
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}
.ek-login-cta a {
  color: var(--accent);
  font-weight: 700;
}
.ek-login-cta a:hover { color: #9acbff; }

.ek-office-cta {
  margin-top: .5rem;
  text-align: center;
}
.ek-office-btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: .9rem;
  border-radius: 10px;
  background: var(--field);
  border: 1px solid #2a3f57;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  margin-top: -90px;
}
.ek-office-btn:hover {
  background: var(--field-focus);
  border-color: var(--accent);
}

/* -------------------- RESPONSIVE -------------------- */
@media(max-width:768px){
  .ek-register {
    margin: 1rem;
    padding: 1.5rem;
  }
  .ek-register__title {
    font-size: 1.6rem;
  }
  .ek-row-2 {
    grid-template-columns: 1fr; /* mobilde tek sütun */
  }
  .ek-login-cta { 
    margin-top: 1rem; /* negatif margin kaldırıldı */
  }
  .ek-office-btn {
    display: inline-block;
    margin: 0.6rem auto 0;     /* üst boşluk biraz küçültüldü */
    padding: .55rem .9rem;     /* dikey padding azaltıldı */
    font-size: .88rem;         /* yazı boyutu biraz küçüldü */
    border-radius: 10px;       /* köşeler korundu */
    width: auto;               /* içerik kadar genişlik */
    text-align: center;
  }
}

@media(max-width:480px){
  .ek-register { padding: 1.2rem; }
  .ek-register__title { font-size: 1.4rem; }
  .ek-btn { font-size: 1rem; padding: .9rem; }
}

/* --------- 📱 Mobil tipografi: başlıklar 15px, diğer tüm metin 12px --------- */
@media (max-width: 768px){
  /* Varsayılan (tüm metin) 12px */
  .ek-register,
  .ek-register *{
    font-size:12px !important;
    line-height:1.4;
  }

  /* Başlıkları 15px */
  .ek-register h1,
  .ek-register h2,
  .ek-register h3,
  .ek-register h4,
  .ek-register h5,
  .ek-register h6,
  .ek-register .ek-register__title,
  .ek-register .ek-checks legend{
    font-size:15px !important;
    line-height:1.25;
  }

  /* Placeholder ve select/option */
  .ek-register input::placeholder,
  .ek-register textarea::placeholder{ font-size:12px !important; }
  .ek-register select,
  .ek-register option{ font-size:12px !important; }
}


.pass-group {
  position: relative;
  display: flex;
  align-items: center;
}

.pass-group input {
  flex: 1;
  padding-right: 42px;
}

.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #8aa6bb;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pass-toggle:hover {
  color: #ffffff;
}

.pass-toggle svg {
  width: 20px;
  height: 20px;
}

/* Göz kapalı hali */
.pass-toggle.hide svg {
  stroke: #8aa6bb;
}

.pass-toggle.hide svg path.hide-line {
  display: block;
}

/* Göz kapalı ikon (ikinci SVG’de gösterilir) */
.pass-toggle.hide .icon-eye {
  display: none;
}
