/* Kawkab brand tokens, scoped to the Keycloak login theme. */
html.login-pf, .login-pf body {
  background: #f4f8fa;
  color: #163540;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100%;
}
.login-pf-page { min-height: 100vh; padding: 28px 16px 48px; display: flex; flex-direction: column; align-items: center; }
#kc-header { margin: 0 0 20px; width: 100%; color: #0f4e67; }
#kc-header-wrapper { padding: 0; line-height: 1; letter-spacing: normal; text-align: center; }
.kawkab-brand { display: inline-block; }
.kawkab-brand img { display: block; width: 132px; height: auto; margin: auto; }
.login-pf-page .card-pf { width: 100%; max-width: 480px; margin: 0; padding: 24px 32px 30px; background: #fff; border: 1px solid #dde7ec; border-top: 4px solid #29a2a0; border-radius: 16px; box-shadow: 0 4px 16px rgb(15 78 103 / 6%); }
.login-pf-page .login-pf-header { display: flex; flex-direction: column; margin-bottom: 24px; }
#kc-page-title { margin: 0; color: #0f4e67; font-size: 26px; font-weight: 700; line-height: 1.3; text-align: start; }
#kc-locale { position: static; width: 100%; text-align: end; margin-bottom: 12px; padding: 0; }
#kc-locale-wrapper { position: relative; }
#kc-current-locale-link { min-height: 44px; padding: 8px 0; color: #526874; font: inherit; font-size: 14px; }
#kc-locale ul { right: 0; left: auto; z-index: 5; }
[dir="rtl"] #kc-locale ul { right: auto; left: 0; }
.login-pf a { color: #0f4e67; }
.login-pf a:hover { color: #0a3c50; text-decoration: underline; }
.login-pf :is(a, button, input):focus-visible { outline: 3px solid #29a2a0; outline-offset: 3px; }
#kc-content, #kc-content-wrapper { width: 100%; }
.login-pf-page .form-group { margin-bottom: 20px; }
.login-pf-page .form-horizontal .form-group { margin-inline: 0; }
.login-pf-page .form-horizontal .form-group > [class*="col-"] { padding-inline: 0; }
.login-pf-page .pf-c-form__label { color: #163540; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.login-pf-page .pf-c-form-control { min-height: 48px; border: 1px solid #7a929c; border-radius: 10px; padding: 11px 12px; background: #fff; color: #163540; font: inherit; }
.login-pf-page .pf-c-input-group { gap: 0; }
.login-pf-page .pf-c-input-group .pf-c-form-control { border-start-end-radius: 0; border-end-end-radius: 0; }
.login-pf-page .pf-c-input-group .pf-c-button { min-width: 48px; color: #0f4e67; background: #f4f8fa; border: 1px solid #7a929c; border-inline-start: 0; border-radius: 0 10px 10px 0; }
[dir="rtl"] .login-pf-page .pf-c-input-group .pf-c-button { border-radius: 10px 0 0 10px; }
.login-pf-page .pf-c-button::after { border: 0; }
.login-pf-page .pf-c-button.pf-m-primary { min-height: 48px; padding: 12px 20px; border: 0; border-radius: 10px; background: #ffd100; color: #0f4e67; font: inherit; font-weight: 700; box-shadow: none; white-space: normal; }
.login-pf-page .pf-c-button.pf-m-primary:hover { background: #f2c600; }
.login-pf-page .pf-c-button:disabled { opacity: .65; cursor: default; }
#kc-form-buttons { padding: 0; margin-top: 24px; }
#kc-form-options { padding: 0; }
.login-pf-page .login-pf-settings { margin-top: 0; color: #526874; font-size: 14px; }
.login-pf-page .pf-c-alert { padding: 14px; border-radius: 10px; font-size: 15px; }
.login-pf-page .pf-c-alert.pf-m-warning { background: #fff9df; border-top-color: #ffd100; color: #6d5300; }
.login-pf-page .pf-c-alert__title { font-size: inherit; font-weight: 500; }
#kc-info { margin: 24px -32px -30px; }
#kc-info-wrapper { padding: 18px 32px; background: #f4f8fa; border-radius: 0 0 16px 16px; font-size: 14px; }
#kc-registration { font-size: 14px; }
#kc-error-message, #kc-info-message { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .login-pf-page { padding: 20px 16px 32px; }
  .kawkab-brand img { width: 108px; }
  .login-pf-page .card-pf { padding: 20px 20px 24px; }
  #kc-page-title { font-size: 24px; }
  #kc-info { margin: 24px -20px -24px; }
  #kc-info-wrapper { padding: 16px 20px; }
}
