/* PKatalog - Sadece Logo, Kullanıcı Adı, Şifre ve Giriş Butonu */

/* 1. Header, Footer, Menüler, Yüzen Butonlar ve Gereksiz Tüm Alanları Gizle */
body#authentication #header,
body#authentication header,
body#authentication #mobile_header,
body#authentication #st_header,
body#authentication .header-nav,
body#authentication .header-top,
body#authentication #footer,
body#authentication .footer-container,
body#authentication #st_footer,
body#authentication .breadcrumb,
body#authentication .st_breadcrumb,
body#authentication .breadcrumb_wrapper,
body#authentication #wrapper > .breadcrumb,
body#authentication .st_news_letter,
body#authentication #blockcart-modal,
body#authentication .sidebar,
body#authentication #left-column,
body#authentication #right-column,
body#authentication .st_notification,
body#authentication #rightbar,
body#authentication #leftbar,
body#authentication #st_mobile_bar,
body#authentication #mobile_bar,
body#authentication .side_bar,
body#authentication .st_side_bar,
body#authentication .side_bar_item,
body#authentication .side_panel,
body#authentication #side_panel,
body#authentication #to_top_wrap,
body#authentication #to_top_btn,
body#authentication .to_top,
body#authentication #st_search_widget,
body#authentication .st_search_open,
body#authentication #search_widget,
body#authentication .search-widget,
body#authentication .search_button,
body#authentication .header_search,
body#authentication a[href*="create_account"],
body#authentication a[href*="registration"],
body#authentication a[data-link-action="display-register-form"],
body#authentication .create_account,
body#authentication .create_account_btn,
body#authentication .no-account,
body#authentication [class*="create_account"],
body#authentication [class*="create-account"],
body#authentication [class*="register"],
body#authentication .st_sticky_header,
body#authentication .fixed_bar,
body#authentication .st_floating_buttons {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. "Parolanızı mı unuttunuz?" ve Tüm Metin Başlıklarını Gizle */
body#authentication .forgot-password,
body#authentication .page-content h3,
body#authentication .page-header,
body#authentication h1,
body#authentication h2,
body#authentication h3 {
  display: none !important;
}

/* Sol Sütundaki "NEW CUSTOMERS" Alanını Gizle */
body#authentication .page-content .row > div:first-child:not(:only-child),
body#authentication .page-content .row > .col-sm-6:first-child,
body#authentication .page-content .row > .col-md-6:first-child,
body#authentication .new-customers,
body#authentication .no-account,
body#authentication #new-customer {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3. Sayfa Arka Planı ve Ortalama */
html, body#authentication {
  height: 100% !important;
  min-height: 100vh !important;
  background: #0f172a !important; /* Kurumsal Koyu Lacivert */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  overflow-x: hidden !important;
}

/* 4. Ana Taşıyıcı ve Form Kartı */
body#authentication #wrapper {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#authentication #wrapper .container,
body#authentication #content-wrapper,
body#authentication #main {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* İç İçe Çerçeveleri ve Fazlalık Kenarlıkları Temizle */
body#authentication .page-content .row > div,
body#authentication .page-content .row > .col-sm-6,
body#authentication .page-content .row > .col-md-6,
body#authentication .login-form,
body#authentication #login-form,
body#authentication .auth_box,
body#authentication .st_auth_box {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Tek ve Temiz Ana Kart */
body#authentication .page-content {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 35px 30px 40px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
  border: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* 5. Kartın En Üstündeki Site Logosu */
.b2b-login-logo {
  text-align: center !important;
  margin-bottom: 25px !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.b2b-login-logo img {
  max-width: 250px !important;
  max-height: 80px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* 6. İnput Alanları (Kullanıcı Adı / E-posta ve Şifre) */
body#authentication .form-group {
  margin-bottom: 18px !important;
  width: 100% !important;
}

body#authentication .form-control-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
  display: block !important;
  text-align: left !important;
}

body#authentication input[type="email"],
body#authentication input[type="text"],
body#authentication input[type="password"] {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 15px !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
}

body#authentication input[type="email"]:focus,
body#authentication input[type="text"]:focus,
body#authentication input[type="password"]:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
}

/* Şifre Alanı Göz Simgesi */
body#authentication .input-group {
  display: flex !important;
  width: 100% !important;
}

body#authentication .input-group input {
  flex: 1 1 auto !important;
  width: 1% !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

body#authentication .input-group .input-group-btn,
body#authentication .input-group .input-group-append,
body#authentication .input-group button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #e2e8f0 !important;
  border: 2px solid #e2e8f0 !important;
  border-left: none !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  padding: 0 15px !important;
  height: 48px !important;
  cursor: pointer !important;
}

/* Beni Hatırla & Şifremi Unuttum Satırı */
.login-remember-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 12px 0 16px 0 !important;
  font-size: 13px !important;
  width: 100% !important;
}

.remember-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #475569 !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  margin: 0 !important;
  font-size: 13px !important;
}

.remember-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  cursor: pointer !important;
  margin: 0 !important;
  display: inline-block !important;
}

.forgot-link {
  color: #2563eb !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

.forgot-link:hover {
  text-decoration: underline !important;
  color: #1d4ed8 !important;
}

/* 7. Giriş Butonu */
body#authentication .form-footer,
body#authentication footer.form-footer,
body#authentication form footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 22px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

body#authentication #submit-login,
body#authentication button[type="submit"],
body#authentication .form-footer button,
body#authentication .form-control-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  background: #2563eb !important;
  border: none !important;
  color: #ffffff !important;
  height: 50px !important;
  min-height: 50px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body#authentication #submit-login:hover,
body#authentication button[type="submit"]:hover {
  background: #1d4ed8 !important;
}
