/* =========================================================
   GV GLOBAL — Branch Login Page (Split-Screen + Illustration)
   ========================================================= */

.branch-login-body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.branch-login-page{
  flex:1;
}

/* ============ Stats Grid (reuses login-feature-grid) ============ */
.branch-stats-grid{
  margin-bottom:30px;
}
.branch-stats-grid .login-feature i.icon-red{
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color:var(--white);
}
.branch-stats-grid .login-feature i.icon-gold{
  background: linear-gradient(135deg, var(--luxury-gold), var(--dark-gold));
  color:#402c00;
}
.branch-stats-grid .login-feature strong{
  font-size:14px;
  color:var(--dark-text);
}
.branch-stats-grid .login-feature span{
  font-size:10.5px;
}

/* ============ Branch Office Illustration ============ */
.branch-illustration{
  position:relative;
  height:170px;
  margin-top:10px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.illustration-skyline{
  position:absolute;
  left:0; right:0; bottom:26px; height:70px;
  background: linear-gradient(180deg, transparent, rgba(142,0,19,0.06));
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 26px, transparent 26px 40px);
  mask-image: repeating-linear-gradient(90deg, #000 0 26px, transparent 26px 40px);
  opacity:.6;
  pointer-events:none;
}

.illustration-ground{
  position:absolute;
  left:0; right:0; bottom:0; height:6px;
  background: linear-gradient(90deg, transparent, rgba(198,0,24,0.18), rgba(212,175,55,0.35), transparent);
  border-radius:6px;
}

.illustration-shadow{
  position:absolute;
  bottom:2px; left:50%; transform:translateX(-50%);
  width:190px; height:14px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.12), transparent 75%);
}

.branch-tree{
  position:absolute; bottom:6px; z-index:1;
  display:flex; flex-direction:column; align-items:center;
}
.branch-tree-left{left:6%;}
.branch-tree-right{right:6%;}
.tree-canopy{
  width:34px; height:34px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #7fbf6d, #4f9a45);
  display:block;
  box-shadow: inset -4px -4px 8px rgba(0,0,0,0.12);
}
.tree-trunk{
  width:6px; height:20px;
  background: linear-gradient(180deg, #8a5a35, #6b4322);
  border-radius:2px;
  margin-top:-2px;
}

.branch-building{
  position:relative; z-index:2;
  width:190px;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.12));
}
.building-roof{
  width:100%; height:26px;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  margin:0 auto;
}
.building-sign{
  text-align:center;
  font-family:var(--font-heading);
  font-weight:800;
  font-size:11px;
  color:var(--red);
  letter-spacing:.5px;
  background:var(--white);
  padding:3px 0;
  display:flex; align-items:center; justify-content:center; gap:5px;
}
.building-sign i{color:var(--gold); font-size:10px;}
.building-body{
  background:var(--white);
  border:1px solid #eee;
  border-top:none;
  padding:12px 14px 0;
}
.building-windows{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:8px;
  margin-bottom:10px;
}
.building-windows span{
  height:16px;
  background: linear-gradient(160deg, #bfe3ff, #8fc6ef);
  border-radius:2px;
  border:1px solid #9cd0f2;
}
.building-band{
  background: linear-gradient(90deg, var(--red), var(--dark-red));
  color:var(--white);
  text-align:center;
  font-family:var(--font-heading);
  font-weight:700;
  font-size:10px;
  letter-spacing:1px;
  padding:6px 0;
  margin:0 -14px;
}
.building-door{
  width:26px; height:22px;
  background: linear-gradient(180deg, var(--dark-gold), #6b4d05);
  border-radius:3px 3px 0 0;
  margin:8px auto 0;
}

/* ============ Right Panel — Branch Icon ============ */
.branch-icon-circle{
  width:78px; height:78px;
  margin:0 auto 18px;
  border-radius:50%;
  background: #f2f2f2;
  border: 1px solid #eaeaea;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.branch-icon-circle i{
  font-size:30px;
  color:var(--red);
}

/* ============ Form Hints ============ */
.form-hint{
  display:block;
  font-size:11px;
  color:#9b9b9b;
  margin:-12px 0 16px 4px;
}
.form-row-branch{
  margin-top:6px;
}

/* ============ Bottom Security Info Bar ============ */
.branch-info-bar{
  background: #F5F3EF;
  border-top:1px solid #ece7dd;
  padding:22px 0;
}
.info-bar-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
}
.info-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 24px;
  position:relative;
}
.info-item:not(:last-child)::after{
  content:'';
  position:absolute;
  right:0; top:50%; transform:translateY(-50%);
  width:1px; height:34px;
  background:#ddd8cc;
}
.info-icon{
  width:38px; height:38px; flex-shrink:0;
  border-radius:10px;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:15px;
}
.info-item div{display:flex; flex-direction:column; line-height:1.35;}
.info-item strong{
  font-family:var(--font-heading);
  font-size:13.5px;
  font-weight:700;
  color:var(--dark-text);
}
.info-item span{
  font-size:11.5px;
  color:var(--secondary-text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px){
  .branch-illustration{height:150px;}
}

@media (max-width: 767px){
  .info-bar-grid{grid-template-columns:repeat(2, 1fr); gap:20px;}
  .info-item:nth-child(2)::after{display:none;}
  .info-item:not(:last-child)::after{display:none;}
  .info-item{padding:0 10px;}
}

@media (max-width: 640px){
  .branch-illustration{display:none;}
}

@media (max-width: 420px){
  .info-bar-grid{grid-template-columns:1fr;}
  .info-item{justify-content:center;}
}
