.b2b-box {
  display: flex;
  flex-direction: column;   /* Başlık, paragraf, buton dikey sıralama */
  justify-content: center;  /* Dikey ortala */
  align-items: center;      /* Yatay ortala */
  text-align: center;       /* Yazılar da ortalı */
}

/* ===============================
   BODY & WRAP
================================ */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

.b2b-bg-wrap {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("../image/b2b-bg.jpg") center center / cover no-repeat;
}

.b2b-bg-particles {
    display: none; /* Tamamen gizle */
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 26px 26px;
  animation: particlesMove 45s linear infinite;
}

@keyframes particlesMove {
  from { background-position: 0 0; }
  to   { background-position: 200px 200px; }
}

/* ===============================
   CONTENT
================================ */
.b2b-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  text-align: center;
}

.b2b-login-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}

.b2b-login-header p {
  color: #ccc;
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto 50px auto;
}

/* ===============================
   BOX CONTAINER
================================ */
.b2b-login-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* ===============================
   GLASSMORPHISM BOX
================================ */
.b2b-box {
  position: relative;
  overflow: hidden;
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 40px 20px;
  width: 360px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  transition: all 0.35s ease;
  text-align: center;
}

.b2b-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.02),
    rgba(255,255,255,0)
  );
  opacity: 0.6;
}

.b2b-box::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 60%;
  height: 300%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(20deg);
  animation: glassSweep 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glassSweep {
  0% { transform: translateX(-120%) rotate(20deg); opacity: 0; }
  30% { opacity: 0.6; }
  60% { transform: translateX(220%) rotate(20deg); opacity: 0; }
  100% { opacity: 0; }
}

.b2b-box:hover {
  border-color: rgba(200, 200, 200, 0.8); /* Gri renk */
  box-shadow:
    0 12px 45px rgba(0,0,0,0.6),
    0 0 30px rgba(200,200,200,0.2);     /* Glow da gri ton */
  transform: translateY(-6px);
}

/* ===============================
   BUTTON
================================ */
.b2b-btn {
  display: inline-block;
  min-width: 180px;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background: #E3000F;
  text-decoration: none;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.b2b-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.b2b-btn:hover::after {
  transform: translateX(100%);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .b2b-login-header h1 { font-size: 24px; }
  .b2b-box { width: 100%; max-width: 420px; padding: 30px 15px; }
  .b2b-btn { min-width: 140px; padding: 12px 20px; }
}


/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

.b2b-login-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.b2b-box input,
.b2b-box button.b2b-btn,
.b2b-login-header p {
  font-family: 'Inter', sans-serif;
}

/* RESET */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* ANA WRAP */
.b2b-bg-wrap {
  min-height: 100vh;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("../image/b2b-bg.jpg") center center / cover no-repeat;
}

/* PARTICLE */
.b2b-bg-particles {
    display: none; /* Tamamen gizle */
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background-image:
    radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 26px 26px;

  animation: particlesMove 45s linear infinite;
}

@keyframes particlesMove {
  from { background-position: 0 0; }
  to   { background-position: 200px 200px; }
}

/* CONTENT */
.b2b-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

/* HEADER */
.b2b-login-header {
  text-align: center;
  margin-bottom: 50px;
}

.b2b-login-header h1 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}

.b2b-login-header p {
  color: #ccc;
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
}

/* CONTAINER */
.b2b-login-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* BOX */
.b2b-box {
  background: rgba(0,0,0,0.65);
  border-radius: 14px;
  padding: 40px;
  width: 360px;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.35s ease;
}

.b2b-box:hover {
  border-color: rgba(200, 200, 200, 0.8); /* Gri renk */
  box-shadow:
    0 12px 45px rgba(0,0,0,0.6),
    0 0 30px rgba(200,200,200,0.2);     /* Glow da gri ton */
  transform: translateY(-6px);
}

/* FORM */
.b2b-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
}

.b2b-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #E3000F;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.b2b-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.b2b-btn:hover::after {
  transform: translateX(100%);
}

.b2b-error {
  margin-top: 10px;
  color: #ff4d4d;
}

/* MOBILE */
@media (max-width: 768px) {
  .b2b-login-header h1 {
    font-size: 24px;
  }

  .b2b-box {
    width: 100%;
    max-width: 420px;
  }
}
/* INPUT & BUTTON BOYUT EŞİTLEME */
.b2b-box input,
.b2b-box button.b2b-btn {
  width: 100%;
  height: 48px;           /* BİREBİR AYNI */
  padding: 0 14px;
  font-size: 15px;
  box-sizing: border-box;
}

/* BUTTON RESET */
.b2b-box button.b2b-btn {
  border: none;
  cursor: pointer;
  line-height: 48px;
}
.b2b-box button.b2b-btn {
  margin-top: 5px;
  letter-spacing: 0.4px;
}
/* ===============================
   GLASSMORPHISM BOX
================================ */

.b2b-box {
  background: rgba(20, 20, 20, 0.55); /* CAM RENK */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.45),
    inset 0 0 0 rgba(255,255,255,0);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* HOVER */
.b2b-box:hover {
  border-color: rgba(180, 180, 180, 0.8); /* Orta gri çerçeve */
  box-shadow:
    0 12px 45px rgba(0,0,0,0.5),      /* Ana gölge */
    0 0 25px rgba(200,200,200,0.35);   /* Yumuşak glow */
  transform: translateY(-6px);
}

/* CAM KENAR PARLAMA */
.b2b-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0.02),
      rgba(255,255,255,0)
    );
  opacity: 0.6;
}

/* BLUR DESTEKLEMEYEN CİHAZLAR */
@supports not ((backdrop-filter: blur(10px))) {
  .b2b-box {
    background: rgba(0,0,0,0.75);
  }
}


/* ===============================
   GLASS LIGHT SWEEP EFFECT
================================ */

/* Cam üstünden geçen ışık */
.b2b-box::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 60%;
  height: 300%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );

  transform: rotate(20deg);
  animation: glassSweep 6s ease-in-out infinite;
  pointer-events: none;
}

/* Animasyon */
@keyframes glassSweep {
  0% {
    transform: translateX(-120%) rotate(20deg);
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  60% {
    transform: translateX(220%) rotate(20deg);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.b2b-box {
  position: relative;
  overflow: hidden; /* IŞIK DIŞARI TAŞMASIN */
}


.b2b-footer-text {
  position: fixed;      /* Ekrana sabitle */
  bottom: 0;            /* En alt */
  left: 0;              /* Soldan başla */
  width: 100%;          /* Tüm genişliği kapla */
  text-align: center;   /* Ortala */
  padding: 10px 0;      /* Yukarı-aşağı boşluk */
  color: #ccc;          /* Yazı rengi */
  font-size: 14px;
  background: rgba(0,0,0,0.5);  /* Hafif transparan arka plan */
  font-family: 'Inter', sans-serif;
  z-index: 9999;        /* Üstte görünmesi için */
}

/* Register sayfası input’larını login ile uyumlu yap */
.b2b-box input,
.b2b-box .b2b-box-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  box-sizing: border-box;
}

/* Gizlilik sözleşmesi checkbox'ını küçültme */
.b2b-box input[type="checkbox"] {
    width: 16px;        /* Küçük kare boyutu */
    height: 16px;       /* Küçük kare boyutu */
    margin-right: 8px;  /* Yazı ile arası */
    vertical-align: middle; /* Yazıya hizalama */
}
.b2b-box label {
    font-size: 14px;    /* Yazı boyutunu biraz küçült */
}

/* Gizlilik sözleşmesi linkini kırmızı yap */
.b2b-box input[type="checkbox"] + label a {
    color: #ff0000;       /* Kırmızı renk */
    text-decoration: underline; /* Altını çiz */
}

.b2b-box input[type="checkbox"] + label a:hover {
    color: #cc0000;       /* Hover'da daha koyu kırmızı */
}
/* ==============================
   GİZLİLİK SÖZLEŞMESİ STİLİ
================================ */

/* Checkbox küçültme ve hizalama */
.b2b-box .b2b-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.b2b-box .b2b-checkbox input[type="checkbox"] {
    width: 16px;        /* Küçük kare boyutu */
    height: 16px;       /* Küçük kare boyutu */
    margin: 0 8px 0 0;  /* Yazı ile arası */
    vertical-align: middle;
}

/* Label ve link stili */
.b2b-box .b2b-checkbox label {
    font-size: 14px;
    color: #fff;       /* Yazı rengi beyaz */
    cursor: pointer;
}

.b2b-box .b2b-checkbox label a {
    color: #ff0000;    /* Link kırmızı */
    text-decoration: underline;
}

.b2b-box .b2b-checkbox label a:hover {
    color: #cc0000;    /* Hover daha koyu kırmızı */
}

/* Responsive mobil uyum */
@media (max-width: 768px) {
    .b2b-box .b2b-checkbox label {
        font-size: 13px;
    }
}
.b2b-bg-wrap {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,102,0,0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,255,255,0.1), transparent 50%),
    url("../image/b2b-bg.jpg") center center / cover no-repeat;
}
