/* personal.css - Personal banking login page (Emirates style) */
:root{
  --gold: #d4af37;
  --purple: #4b0082;
  --white: #ffffff;
  --hero-dark: rgba(58,0,120,0.45);
}

/* base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0;
  background:#000;
  color:#111;
}

/* hero wrapper: full screen background image + overlay */
.pg-hero{
  min-height:100vh;
  display:block;
  position:relative;
  background-image: url('../images/hero\ 2.png');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* purple overlay to dim image and give brand tone */
.pg-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(75,0,130,0.55), rgba(30,0,60,0.55));
  mix-blend-mode: overlay;
  pointer-events:none;
  z-index:0;
}

/* top header */
.hero-top{
  position:relative;
  z-index:2;
  padding:32px 16px 8px;
  text-align:center;
}
.brand-logo{
  height:54px;
  width:auto;
  display:inline-block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
}

/* center container should appear above overlay */
.container{position:relative; z-index:3}

/* login card */
.login-card{
  border-radius:14px;
  overflow:hidden;
  background: rgba(162, 162, 163, 0.221);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* content inside login card */
.card-body{padding:26px}
.text-white{color:#fff}
.text-white-70{color:rgba(255,255,255,0.95)}
.text-white-60{color:var(--white)}

/* inputs style: white text on transparent-ish background */
.input-white{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: gold;
  height:48px;
  border-radius:8px;
  padding:0.625rem 0.9rem;
}
.input-white::placeholder{ color: rgba(255,255,255,0.8); opacity:1; }
.input-white:focus{
  box-shadow: 0 6px 20px rgba(0,0,0,0.25) inset;
  outline: none;
  border-color: rgba(255,255,255,0.95);
}

/* Sign up / Login button: white-transparent with gold border, black text */
.btn-signup, .btn-signup-lg{
  background: var(--gold);
  color: #000;
  border: 2px solid var(black);
  border-radius:10px;
  padding: 10px 18px;
  font-weight:600;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.btn-signup:hover, .btn-signup-lg:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* small sign-up button variant */
.btn-signup.btn-sm{ padding: 6px 10px; font-size:0.95rem; border-radius:8px; }

/* forgot link purple */
.forgot-link{
  color: var(--gold);
  text-decoration: none;
  font-weight:600;
}
.forgot-link:hover{text-decoration:underline; opacity:0.95}

/* small responsive tweaks */
@media (max-width: 768px){
  .brand-logo{height:48px}
  .card-body{padding:20px}
}

.toast {
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  font-size: 0.95rem;
}
.toast-header {
  border-bottom: none;
  font-weight: 600;
}

.password-strength {
  height: 6px;
  width: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}
#strengthBar {
  height: 6px;
  width: 0;
  transition: width 0.3s ease, background 0.3s ease;
  border-radius: 4px;
}
#strengthText {
  font-size: 0.75rem;
  color: #ccc;
}

/* Toast inside modal */
#toastContainer {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 320px;
  position: absolute !important;
}

#liveToast {
  border-radius: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
}

#toastBody {
  padding: 0.75rem 1rem;
}

.toast-container {
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}