/* Basic reset */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');
* { box-sizing: border-box; }

/* Hide default website chrome */
.navbar, .navbar.navbar-expand, .page-breadcrumbs, .web-footer, .page-footer, .footer { display: none !important; }

body { font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif; }
body.account-page, .login-shell { min-height: 100vh; }

.login-shell { position: fixed; inset: 0; display: grid; place-items: stretch; min-height: 100vh; background: transparent; z-index: 0; }

/* Two-column grid covers full viewport */
.login-grid { width: 100vw; height: 100vh; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: transparent; border-radius: 0; overflow: hidden; box-shadow: none; }

.login-left { background: #ffffff; display: grid; place-items: center; }
.login-card { width: 100%; max-width: 520px; padding: 32px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border-radius: 12px; }
.login-userset { padding: 0; }
.login-logo { text-align: center; margin-bottom: 12px; }
.login-logo img { height: 80px; }
.logo-white { display: none; }

.login-userheading { text-align: center; margin: 8px 0 20px; }
.login-userheading h3 { margin: 0 0 6px; font-weight: 700; color: #0f172a; }
.login-userheading h4 { margin: 0; color: #6b7280; font-size: 14px; }

.mb-3 { margin-bottom: 16px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; color: #0f172a; }
.input-group { display: grid; grid-template-columns: 1fr 44px; }
.input-group .form-control { border: 1px solid #e5e7eb; border-right: 0; border-radius: 10px 0 0 10px; padding: 12px 14px; }
.input-group .input-group-text { display: grid; place-items: center; border: 1px solid #e5e7eb; border-left: 0; border-radius: 0 10px 10px 0; background: #fff; color: #6b7280; }

.pass-group { position: relative; }
.pass-input.form-control { width: 100%; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 44px 12px 14px; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; }

.checkboxs { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.checkboxs input[type="checkbox"] { position: absolute; left: 0; top: 0; width: 20px; height: 20px; opacity: 0; }
.checkmarks { width: 18px; height: 18px; border: 1px solid #e5e7eb; border-radius: 4px; display: inline-block; position: relative; }
.checkboxs input:checked + .checkmarks { background: #3066fb; border-color: #3066fb; }
.checkboxs input:checked + .checkmarks:after { content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 16px; border: 1px solid transparent; font-weight: 600; cursor: pointer; }
.btn-primary { background: #3066fb; border-color: #3066fb; color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-info { background: #0ea5e9; border-color: #0ea5e9; color: #fff; }
.btn-dark { background: #111827; border-color: #111827; color: #fff; }
.btn-white { background: #fff; color: #0f172a; }

.w-100 { width: 100%; }
.d-none { display: none; }
.alert { border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.or-text { text-align: center; }
.or-text h4 { display: inline-block; position: relative; padding: 0 12px; color: #6b7280; font-size: 12px; }
.or-text h4:before, .or-text h4:after { content: ""; display: inline-block; width: 80px; height: 1px; background: #e5e7eb; position: relative; top: -6px; }
.or-text h4:before { margin-right: 12px; }
.or-text h4:after { margin-left: 12px; }

.copyright-text { color: #6b7280; font-size: 12px; }

/* Right image panel */
.login-right { position: relative; background: transparent; border-radius: 0; }
.login-hero { position: absolute; inset: 0; width: 100%; height: 100%; background: url('/assets/awamiawaaz_theme/img/login_background.jpg') center/cover no-repeat; border-radius: 0; }

@media (max-width: 520px){
  .login-grid { grid-template-columns: 1fr; background: #ffffff; border-radius: 12px; }
  .login-left { order: 1; }
  .login-right { order: 2; height: 200px; }
  .login-card { padding: 20px; }
}

