/* Emirate of Tabuk sign-in page (approved offline design v5): split layout, green brand panel 1.05fr / white form panel 1fr, form card max 420px,
   gold sign-in button, language button. GLPI's own form is only moved and restyled. Stacks below 780px. */
body.tbk-login { background: #fff !important; font-family: Tahoma, Arial, system-ui, sans-serif; color: #172b25; }
body.tbk-login main.page-anonymous { padding: 0 !important; margin: 0 !important; max-width: none !important; display: block !important; }
body.tbk-login main.page-anonymous > :not(.tbk-wrap) { display: none !important; }
.tbk-card form .row > [class*="col-"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
.tbk-card .mb-3:has(select[name="auth"]) { display: none !important; }
.tbk-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; }
.tbk-brandside { background: #16644a; color: #fff; min-height: 760px; padding: 46px 9%; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tbk-portal { display: flex; align-items: center; gap: 13px; }
.tbk-portal .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.165); display: grid; place-items: center; flex-shrink: 0; }
.tbk-portal .ico img { width: 27px; height: 27px; }
.tbk-portal strong { font-size: 1.1rem; display: block; line-height: 1.6; }
.tbk-portal small { font-size: .8125rem; color: #c2dbcf; }
.tbk-copy { position: relative; z-index: 2; margin-block: 72px 35px; max-width: 550px; }
.tbk-eyebrow { font-size: .875rem; letter-spacing: .02em; color: #e6c36a; font-weight: 600; }
.tbk-copy h1 { font-size: clamp(2rem, 3.3vw, 3.25rem); line-height: 1.5; font-weight: 600; margin: 16px 0 18px; color: #fff; }
.tbk-copy p { color: #d1e3d9; font-size: 1.05rem; line-height: 1.9; max-width: 480px; }
.tbk-promises { display: grid; gap: 20px; position: relative; z-index: 2; margin-block: 12px 150px; }
.tbk-promise { display: flex; align-items: center; gap: 13px; font-size: .9375rem; }
.tbk-promise i { border: 1px solid rgba(255,255,255,.19); background: rgba(255,255,255,.047); padding: 9px; border-radius: 10px; color: #f2d690; font-size: 21px; line-height: 1; }
.tbk-hills { position: absolute; inset-inline: 0; bottom: 0; opacity: .7; width: 100%; height: 230px; pointer-events: none; }
.tbk-brandfoot { position: relative; z-index: 2; margin-top: auto; font-size: .75rem; color: #d5e5db; }
.tbk-formside { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px 7%; position: relative; }
.tbk-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; position: absolute; top: 27px; inset-inline: 0; padding-inline: 7%; }
.tbk-head .tag { font-size: .8125rem; color: #65756e; }
.tbk-lang { font-size: .875rem; display: flex; align-items: center; gap: 7px; background: #f7faf8; border: 1px solid #e0e8e3; border-radius: 9px; padding: 9px 12px; white-space: nowrap; cursor: pointer; color: #172b25; }
.tbk-card { width: 100%; max-width: 420px; margin-block: 60px 20px; }
.tbk-emblem { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: #eef5f0; color: #16644a; border: 1px solid #d8e8dc; font-size: 29px; }
.tbk-card h2 { font-size: 1.9rem; margin: 16px 0 10px; font-weight: 650; color: #172b25; }
.tbk-card .intro { font-size: .9375rem; color: #65756e; line-height: 1.8; margin-bottom: 28px; }
/* GLPI's own card, flattened inside the form side */
.tbk-card .main-content-card, .tbk-card .card { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.tbk-card .card-body { padding: 0 !important; }
.tbk-card .card-header, .tbk-card .glpi-logo, .tbk-card h2.card-title, .tbk-card .card-title { display: none !important; }
.tbk-card label.form-label { font-size: .875rem; font-weight: 600; margin-bottom: 9px; color: #172b25; }
.tbk-card input.form-control, .tbk-card select.form-select { height: 48px; background: #fafcfb; border: 1px solid #e0e8e3; border-radius: 10px; font-size: .9375rem; }
.tbk-card button[type="submit"] { width: 100%; min-height: 46px; border-radius: 10px; font-weight: 600; background: #d8a102 !important; border-color: #d8a102 !important; color: #2c260e !important; }
.tbk-card button[type="submit"]:hover { background: #c79300 !important; }
.tbk-card a { color: #16644a; font-weight: 600; }
.tbk-note { color: #65756e; font-size: .8125rem; line-height: 1.9; text-align: center; margin-top: 24px; }
.tbk-legal { color: #65756e; font-size: .75rem; text-align: center; max-width: 440px; line-height: 1.8; }
.tbk-legal a { color: #65756e; }
@media (min-width: 1700px) { .tbk-brandside { padding-inline: 13%; } }
@media (max-width: 1050px) { .tbk-brandside { padding-inline: 8%; min-height: 740px; } .tbk-copy { margin-top: 80px; } .tbk-copy h1 { font-size: 2.2rem; } }
@media (max-width: 780px) {
  .tbk-wrap { grid-template-columns: 1fr; min-height: 0; } .tbk-brandside { min-height: 0; padding: 28px 26px 32px; } .tbk-copy { margin: 26px 0 0; max-width: 100%; }
  .tbk-copy h1 { font-size: 1.8rem; line-height: 1.65; margin: 10px 0; } .tbk-copy p { font-size: .9375rem; margin-bottom: 0; max-width: 100%; }
  .tbk-promises, .tbk-hills, .tbk-brandfoot { display: none; } .tbk-formside { padding: 70px 25px 30px; } .tbk-head { top: 20px; padding-inline: 25px; } .tbk-card { margin: 15px 0 22px; max-width: 460px; } .tbk-card h2 { font-size: 1.55rem; }
}
