/* =========================================================
   Mediest Group - Login (Full CSS, single file)
   Not: Bu dosya, iofrm tema stillerine uyumlu olacak şekilde
   yüksek özgülükle (specificity) override yapar.
   ========================================================= */

/* --- Sistem fontları ve minimum reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Apple Color Emoji",
               "Segoe UI Emoji", "Segoe UI Symbol";
  color: #1f2a37;
  background: radial-gradient(1200px 600px at 10% 10%, #ffffff 0, #f5fafe 48%, #eef6ff 100%);
}

/* --- Renk Değişkenleri --- */
:root{
  --mg-primary: #0078d4;
  --mg-primary-ink: #034a7a;
  --mg-accent: #40c7b5;
  --mg-ink: #1f2a37;
  --mg-muted: #6b7280;
  --mg-bg: #f7fbff;
  --mg-card: #ffffff;
  --mg-border: #e5eef7;
  --mg-focus: rgba(0,120,212,.35);
}

/* ---------------------------------------------------------
   YAPI (soldaki görsel alanı + sağ form alanı)
   --------------------------------------------------------- */
.form-body{ min-height: 100%; backdrop-filter: blur(2px); }

/* Sol taraftaki görsel kolon (mevcut HTML ile uyumlu) */
.img-holder{
  display:inline-block; position:absolute; top:0; left:0;
  width:550px; min-height:700px; height:100%; overflow:hidden;
  background-color:#000; padding:60px; text-align:center; z-index:1;
}
.img-holder .bg{
  position:absolute; left:0; top:0; width:100%; height:100%;
  opacity:.22;
  background: linear-gradient(180deg, rgba(0,120,212,.08), rgba(64,199,181,.08)),
              url("../images/login-back.jpg") center/cover no-repeat;
  filter: saturate(1.05);
  z-index:-1;
}
.img-holder .info-holder{ position:relative; top:50%; transform: translateY(-50%); }

/* Sağ kolon (form) */
.form-holder{ margin-left: 550px; width: 100%; }
.form-holder .form-content{
  position:relative; display:flex; justify-content:center; align-items:center;
  min-height:100%; padding:60px;
  background: transparent !important; /* arka planı kartta vereceğiz */
}
.form-holder .form-content .form-items{
  width:100%; max-width: 420px; text-align:left;
  background: var(--mg-card);
  border: 1px solid var(--mg-border);
  border-radius: 16px;
  padding: clamp(22px, 3.8vw, 40px);
  box-shadow: 0 20px 50px rgba(3,74,122,.08);
}

/* ---------------------------------------------------------
   Başlık & Açıklama
   --------------------------------------------------------- */
.form-holder .form-content .form-items h3{
  color: var(--mg-primary-ink) !important;
  font-size: 26px; font-weight: 900; margin: 0 0 8px 0;
  letter-spacing:.2px;
}
.form-holder .form-content .form-items p{
  color: var(--mg-muted) !important;
  font-size: 16px; line-height: 1.6; margin: 0 0 18px 0;
}

/* ---------------------------------------------------------
   Sekmeler / Kayıt Segmentleri (Giriş + Doktorlar/Klinikler)
   --------------------------------------------------------- */
.form-holder .form-content .form-items .page-links{
  display:flex; align-items:center; justify-content: space-between;
  gap: 12px; border-bottom: 1px solid var(--mg-border);
  padding-bottom: 14px; margin-bottom: 18px;
}

/* Giriş sekmesi */
.form-holder .form-content .form-items .page-links > a{
  position:relative; display:inline-block;
  text-decoration:none; font-weight:700;
  color:#fff; background: linear-gradient(90deg, var(--mg-primary) 0%, var(--mg-accent) 100%);
  padding: 8px 14px; border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,120,212,.18);
}
.form-holder .form-content .form-items .page-links > a.active{ opacity: 1; }

/* İki segment butonu */
.form-holder .form-content .form-items .signup-split{
  display:grid; grid-auto-flow: column; gap:10px;
}
.form-holder .form-content .form-items .btn-segment{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:138px; padding:10px 16px;
  border-radius:12px; background:#fff; color: var(--mg-primary-ink);
  border:1px solid var(--mg-border); font-weight:800; letter-spacing:.3px;
  text-transform: uppercase; text-decoration:none;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.form-holder .form-content .form-items .btn-segment:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(3,74,122,.10);
  background: linear-gradient(180deg, #fff, #f7fbff);
}

/* ---------------------------------------------------------
   Form Elemanları
   --------------------------------------------------------- */
.form-holder .form-content .form-items form{ margin:0 0 18px 0; }

.form-holder .form-content .form-items .form-control{
  display:block; width:100%;
  border: 1px solid var(--mg-border) !important;
  background: #fbfdff !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  color: var(--mg-ink) !important;
  box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease, background .2s ease;
  margin-bottom: 14px;
}
.form-holder .form-content .form-items .form-control::placeholder{ color: #9aa9bd; }
.form-holder .form-content .form-items .form-control:focus{
  outline: none; border-color: var(--mg-primary) !important;
  box-shadow: 0 0 0 4px var(--mg-focus) !important; background: #fff !important;
}

/* Giriş butonu + linkler */
.form-holder .form-content .form-items .form-button{
  display:flex; align-items:center; gap: 12px; margin: 22px 0 8px 0;
}
.form-holder .form-content .form-items .form-button .ibtn{
  background: linear-gradient(90deg, var(--mg-primary) 0%, var(--mg-accent) 100%) !important;
  border:0 !important; color:#fff !important; font-weight:800 !important;
  border-radius:12px !important; padding:12px 18px !important; letter-spacing:.3px;
  box-shadow: 0 10px 24px rgba(0,120,212,.22); transition: transform .08s, box-shadow .2s;
  cursor: pointer;
}
.form-holder .form-content .form-items .form-button .ibtn:hover{ transform: translateY(-1px); }
.form-holder .form-content .form-items .form-button .ibtn:active{ transform: translateY(0); }
.form-holder .form-content .form-items .form-button a{
  color: var(--mg-primary-ink) !important; font-weight:700; white-space: nowrap;
  text-decoration: none;
}

/* Uyarı kutuları */
.form-holder .form-content .form-items .alert{
  border-radius: 12px !important;
  border-color: #ffecb5 !important;
  background: #fff9e6 !important;
  color: #7a5d00 !important;
  padding: 10px 14px !important; font-weight:700;
}

/* Sosyal bağlantılar */
.form-holder .form-content .form-items .other-links{ margin-top: 16px; color: var(--mg-muted); }
.form-holder .form-content .form-items .other-links span{ font-size:12px; color: var(--mg-muted); margin-right: 10px; }
.form-holder .form-content .form-items .other-links a{ color: var(--mg-primary-ink); font-weight:700; }
.form-holder .form-content .form-items .other-links a i{
  width:34px; height:34px; display:inline-grid; place-items:center;
  border-radius:50%; border:1px solid var(--mg-border);
  margin-left:8px; font-size:16px; transition: transform .08s, box-shadow .2s;
}
.form-holder .form-content .form-items .other-links a:hover i{
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(3,74,122,.10);
}

/* Opsiyonel iletişim kartı (eklediysen görünür) */
.form-holder .form-content .form-items .contact-card{
  display:grid; grid-template-columns:44px 1fr; gap:12px; align-items:center;
  border:1px dashed var(--mg-border); background:#fbfeff;
  border-radius:14px; padding:12px 14px; margin-top:16px; color:var(--mg-muted); font-size:14px;
}
.form-holder .form-content .form-items .contact-card a{ color: var(--mg-primary-ink); font-weight:700; }
.form-holder .form-content .form-items .contact-logo{ width:44px; height:44px; object-fit:contain; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 992px){
  .img-holder{ display:none; }
  .form-holder{ margin-left:0; }
  .form-holder .form-content{ padding: 125px 18px 40px; }
  .form-holder .form-content .form-items{ max-width: 520px; }
  .form-holder .form-content .form-items .signup-split{ grid-auto-flow: row; }
  .form-holder .form-content .form-items .btn-segment{ min-width:100%; }
}

@media (max-width: 480px){
  .form-holder .form-content{ padding: 90px 14px 30px; }
  .form-holder .form-content .form-items{ padding: 18px; }
}

/* ---------------------------------------------------------
   Güvenli varsayılanlar (muhtemel tema kalıntılarını bastır)
   --------------------------------------------------------- */
.form-content{ background: transparent !important; }
.form-content h3, .form-content p{ color: inherit; }
.form-content .page-links a{ color: inherit; }
.form-content input{ border: 0; } /* asıl stilleri yukarıda verdik */
