/* ============================================================
   REGISTER PAGE — WHITE PREMIUM (NO DARK AREAS)
============================================================ */

/* PAGE BASE */
.registration-page{
  background:#ffffff;
  color:#0f172a;
}

/* ============================================================
   MAIN LAYOUT
============================================================ */

.main-layout{
  max-width:1400px;
  margin:0 auto;
  padding:24px 18px 40px;
  display:grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap:28px;
  align-items:start;
}

.main-left{
  min-width:0;
}

/* RIGHT SIDEBAR */
.main-right{
  width:100%;
  align-self:start;
  position:sticky;
  top:88px;
}

/* sidebar cards spacing */
.main-right .side-panel{
  margin-bottom:18px;
}

/* ============================================================
   CONTENT WRAPPER
============================================================ */

.reg-wrapper{
  padding:10px 10px 50px;
}

/* ============================================================
   HEADER
============================================================ */

.reg-header h1{
  font-size:30px;
  margin-bottom:6px;
  color:#0f172a;
}

.reg-header p{
  color:#475569;
}

.reg-subtitle{
  margin:26px 0 16px;
  font-size:18px;
}

.reg-subtitle.red{
  color:#e11d2e;
  font-weight:800;
  letter-spacing:.6px;
}

/* ============================================================
   ACCOUNT CARDS — WHITE PREMIUM
============================================================ */

.account-type-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:10px;
}

.account-card{
  background:#ffffff;
  border:1px solid #e5e7eb;
  color:#0f172a;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
  padding:18px 18px 16px;
  display:grid;
  grid-template-columns:1fr 170px;
  align-items:center;
  gap:18px;
  max-width:100%;
  overflow:hidden;
  transition:.25s ease;
}

.account-card:hover{
  border-color:#e11d2e;
  box-shadow:0 0 0 1px rgba(225,29,46,.12), 0 18px 40px rgba(15,23,42,.12);
}

.account-info h3{
  margin:0 0 10px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.4px;
  color:#0f172a;
}

/* features */
.account-features{
  list-style:none;
  padding:0;
  margin:0 0 14px;
}

.account-features li{
  font-size:13px;
  margin-bottom:6px;
  padding-left:18px;
  position:relative;
  color:#334155;
}

.account-features li::before{
  content:"✓";
  color:#e11d2e;
  position:absolute;
  left:0;
  top:0;
  font-weight:800;
}

/* CTA */
.account-btn{
  display:inline-block;
  background:linear-gradient(135deg,#e11d2e,#b01222);
  color:#ffffff;
  font-weight:800;
  font-size:13px;
  padding:8px 22px;
  border-radius:6px;
  text-decoration:none;
  transition:.2s;
}

.account-btn:hover{
  filter:brightness(1.05);
}

/* image */
.account-img img{
  width:100%;
  height:190px;
  object-fit:contain;
  filter:none; /* REMOVE dark shadow */
}

/* ============================================================
   ADVERTISE SECTION — LIGHT MODE
============================================================ */

.advertise-section{
  margin-top:60px;
  padding-top:28px;
  border-top:1px solid #e5e7eb;
}

.advertise-section h2{
  font-size:22px;
  margin-bottom:10px;
  color:#b45309;
}

.ad-sub{
  margin-bottom:12px;
  color:#475569;
}

.ad-warning{
  color:#b45309;
  font-size:13px;
}

.ad-banners{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0;
}

.ad-banners img{
  max-width:100%;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:6px;
}

.ad-stats{
  padding-left:18px;
}

.ad-stats li{
  margin-bottom:6px;
  color:#334155;
}

/* ============================================================
   SIDEBAR SAFETY OVERRIDES (NO DARK LEAKS)
============================================================ */

.registration-page aside.main-right,
.registration-page aside.main-right .side-panel,
.registration-page aside.main-right .mini-section{
  background:#ffffff;
  color:#0f172a;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width:1100px){

  .main-layout{
    grid-template-columns:1fr;
  }

  .main-right{
    position:static;
    order:2;
    margin-top:30px;
  }

}

@media (max-width:768px){

  .reg-wrapper{
    padding:10px;
  }

  .account-type-grid{
    grid-template-columns:1fr;
  }

  .account-card{
    grid-template-columns:1fr 120px;
  }

  .account-img img{
    height:150px;
  }

}

/* ============================================================
   FINAL GUARANTEE — NO BLACK ANYWHERE
============================================================ */

.registration-page *{
  background-color:inherit;
}

/* ============================================================
   REGISTER PAGE EDGE-TO-EDGE LAYOUT
   Matches home page screen width only. No content/function changes.
============================================================ */

body.page-template-page-register,
body.page-template-page-register-php{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  background:#ffffff;
}

body.page-template-page-register main,
body.page-template-page-register .registration-page,
body.page-template-page-register .site-main,
body.page-template-page-register .page-wrap,
body.page-template-page-register .container,
body.page-template-page-register .wrap,
body.page-template-page-register-php main,
body.page-template-page-register-php .registration-page,
body.page-template-page-register-php .site-main,
body.page-template-page-register-php .page-wrap,
body.page-template-page-register-php .container,
body.page-template-page-register-php .wrap{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

.registration-page > .main-layout{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:0 !important;
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:0 !important;
  box-sizing:border-box;
}

.registration-page .main-left{
  width:100%;
  min-width:0;
  padding:14px 16px 28px !important;
  box-sizing:border-box;
}

.registration-page .main-right{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}

.registration-page .reg-wrapper{
  width:100%;
  max-width:100%;
  padding:10px 0 50px !important;
  box-sizing:border-box;
}

.registration-page .reg-wrapper > .container{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box;
}

.registration-page .account-type-grid,
.registration-page .advertise-section{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

@media (min-width:1600px){
  .registration-page > .main-layout{
    grid-template-columns:minmax(0,1fr) 360px;
  }

  .registration-page .main-left{
    padding-left:20px !important;
    padding-right:20px !important;
  }
}

@media (min-width:992px){
  .registration-page .main-right{
    position:sticky;
    top:84px;
    align-self:start;
  }
}

@media (max-width:991px){
  .registration-page > .main-layout{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    grid-template-columns:1fr;
  }

  .registration-page .main-left{
    padding:0 12px 24px !important;
  }

  .registration-page .main-right{
    position:static;
    margin-top:20px;
    padding:0 12px 24px;
  }
}
