/* ===============================
   KIB INTERNET BANKING PAGE
================================ */

/* RESET HELP (SAFE) */
body{
  font-family:'Source Sans 3',sans-serif;
}

/* ===============================
   HERO / LOGIN SECTION
================================ */
.login-section{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* BACKGROUND IMAGE */
.login-bg{
  position:absolute;
  inset:0;
  background:url('./assets/images/internet-banking-hero.PNG') center/cover no-repeat;
  z-index:0;
}

/* DARK OVERLAY */
.login-section::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1;
}

/* CONTENT WRAP */
.login-section .wrap{
  position:relative;
  z-index:2;
  width:100%;
  max-width:420px;
  padding:0 20px;
}

/* TITLE */
.login-title{
  color:#fff;
  font-size:22px;
  font-weight:800;
  text-align:center;
  margin-bottom:20px;
  letter-spacing:.3px;
}

/* ===============================
   LOGIN CARD
================================ */
.login-card{
  background:#fff;
  padding:26px;
  border-radius:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* INPUT */
.input{
  width:100%;
  padding:12px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:14px;
  outline:none;
}

.input:focus{
  border-color:#000;
}

/* PASSWORD ROW */
.input-row{
  display:flex;
  align-items:center;
  gap:6px;
}

/* TOGGLE BUTTON */
#togglePw{
  background:none;
  border:none;
  font-size:16px;
  cursor:pointer;
}

/* BUTTON */
.login-btn{
  background:#000;
  color:#fff;
  padding:13px;
  border:none;
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
  transition:.25s;
}

.login-btn:hover{
  background:#111;
}

/* MESSAGE */
.login-msg{
  font-size:13px;
  font-weight:600;
  text-align:center;
}

/* FOOT LINKS */
.login-foot{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-top:6px;
}

.login-foot a{
  text-decoration:none;
  color:#000;
}

/* ===============================
   NAVIGATION TILES
================================ */
.kib-nav-cards{
  background:#f5f5f5;
  padding:50px 20px;
}

.kib-nav-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.kib-nav-card{
  background:#111;
  color:#fff;
  padding:26px;
  border-radius:12px;
  text-decoration:none;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  min-height:120px;
  transition:.25s;
}

.kib-nav-card:hover{
  background:#000;
}

.kib-nav-card h3{
  font-size:17px;
  font-weight:700;
  line-height:1.3;
}

/* ===============================
   DRAWER SUPPORT (SAFE OVERRIDE)
================================ */
.drawer{
  position:fixed;
  top:0;
  right:-320px;
  width:320px;
  height:100%;
  background:#fff;
  transition:.3s;
  z-index:1000;
  overflow:auto;
}

.drawer.is-open{
  right:0;
}

.backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  z-index:900;
}

/* ACCORDION */
.drawer-sub{
  overflow:hidden;
  max-height:0;
  transition:max-height .3s ease;
}

/* ===============================
   FOOTER (WHITE ACCORDION)
================================ */
.kib-footer-white{
  background:#fff;
  padding:20px;
  border-top:1px solid #eee;
}

.kib-acc-btn{
  width:100%;
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border:none;
  background:none;
  font-weight:600;
  cursor:pointer;
}

.kib-acc-panel{
  padding-left:10px;
}

.kib-acc-panel a{
  display:block;
  padding:6px 0;
  color:#333;
  text-decoration:none;
}

/* ===============================
   LOCATION FOOTER
================================ */
.kib-footer{
  background:#000;
  color:#fff;
  padding:30px 20px;
}

.kib-footer-title{
  font-size:18px;
  margin-bottom:12px;
}

.kib-address-list p{
  font-size:13px;
  margin-bottom:6px;
}

.kib-footer-meta{
  margin-top:15px;
  font-size:12px;
  display:flex;
  justify-content:space-between;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width:480px){

  .login-card{
    padding:20px;
  }

  .kib-nav-grid{
    grid-template-columns:1fr;
  }

}
