/* TBAG_MONOCHROME_ENTERPRISE_V1 */

:root {
  --tbag-black: #111111;
  --tbag-charcoal: #181818;
  --tbag-dark: #242424;
  --tbag-border: #d8d8d8;
  --tbag-soft-border: #e7e7e7;
  --tbag-muted: #666666;
  --tbag-soft: #f5f5f5;
  --tbag-white: #ffffff;
}

/* ==========================================================
   APPLICATION
   ========================================================== */

body {
  background: #f4f4f4 !important;
  color: #161616 !important;
}

.main-content {
  background: #f7f7f7 !important;
  color: #161616 !important;
}

/* ==========================================================
   SIDEBAR
   ========================================================== */

.sidebar {
  background: #171717 !important;
  color: #ffffff !important;
  border-right: 1px solid #292929 !important;
}

.sidebar h1,
.sidebar p,
.sidebar label,
.sidebar span {
  color: inherit;
}

.brand-mark {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #ffffff !important;
}

.nav-list button {
  background: transparent !important;
  color: #f4f4f4 !important;
  border-color: #353535 !important;
}

.nav-list button:hover {
  background: #242424 !important;
  border-color: #555555 !important;
}

.nav-list button.active {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
}

.language-control select {
  background: #202020 !important;
  color: #ffffff !important;
  border-color: #444444 !important;
}

.side-note {
  color: #b8b8b8 !important;
}

/* ==========================================================
   HERO / HEADINGS
   ========================================================== */

.kicker {
  color: #333333 !important;
}

.hero h2,
.section-head h3,
.tab h3,
.tab h4 {
  color: #111111 !important;
}

.lead,
.refresh-feedback {
  color: #606060 !important;
}

/* ==========================================================
   STATUS + CARDS
   ========================================================== */

.status-card,
.cards > div,
.panel,
.info-strip,
.table-shell,
.guide-card,
.help-start,
.faq-grid details,
.help-topic {
  background: #ffffff !important;
  color: #161616 !important;
  border-color: #d8d8d8 !important;
  box-shadow: none !important;
}

.cards strong,
.status-card strong {
  color: #111111 !important;
}

/* ==========================================================
   INPUTS
   ========================================================== */

input,
select,
textarea {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #bfbfbf !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #111111 !important;
  outline: 2px solid rgba(0,0,0,.12) !important;
}

input[readonly],
textarea[readonly] {
  background: #f2f2f2 !important;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

button:not(.nav-list button):not(.tbag-training-close):not(.tbag-training-chapter) {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
}

button:not(.nav-list button):not(.tbag-training-close):not(.tbag-training-chapter):hover {
  background: #2a2a2a !important;
  border-color: #2a2a2a !important;
}

.secondary-button {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #777777 !important;
}

.secondary-button:hover {
  background: #f2f2f2 !important;
  color: #111111 !important;
}

/* ==========================================================
   TABLES / TECHNICAL OUTPUT
   ========================================================== */

table {
  background: #ffffff !important;
}

thead {
  background: #eeeeee !important;
  color: #111111 !important;
}

th,
td {
  border-color: #dddddd !important;
}

pre {
  background: #171717 !important;
  color: #f3f3f3 !important;
  border-color: #2b2b2b !important;
}

/* ==========================================================
   CONTEXT HELP BUTTON
   ========================================================== */

#contextHelp {
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.16) !important;
}

/* ==========================================================
   TRAINING
   ========================================================== */

.tbag-training-trigger {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #777777 !important;
}

.tbag-training-trigger:hover {
  background: #eeeeee !important;
}

.tbag-training-drawer,
.tbag-training-hub,
.tbag-training-chapter {
  background: #ffffff !important;
  color: #111111 !important;
}

.tbag-training-chapter {
  border-color: #d0d0d0 !important;
}

.tbag-training-chapter:hover {
  background: #f2f2f2 !important;
  border-color: #777777 !important;
}

.tbag-training-eyebrow,
.tbag-training-meta,
.tbag-training-description,
.tbag-training-note {
  color: #555555 !important;
}

.tbag-training-close {
  background: #ffffff !important;
  border-color: #bcbcbc !important;
}

/* ==========================================================
   LOGIN
   ========================================================== */

.tbag-auth-gate {
  background: #f2f2f2 !important;
}

.tbag-auth-gate-card {
  background: #ffffff !important;
  border-color: #d0d0d0 !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.08) !important;
}

.tbag-auth-brand-mark {
  background: #111111 !important;
  color: #ffffff !important;
}

.tbag-auth-gate-card h1,
.tbag-auth-gate-card h2 {
  color: #111111 !important;
}

.tbag-auth-gate #signIn {
  background: #111111 !important;
  color: #ffffff !important;
}

.tbag-auth-gate #signIn:hover {
  background: #292929 !important;
}

.tbag-auth-gate .secondary-button {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #777777 !important;
}

/* ==========================================================
   LINKS
   ========================================================== */

a {
  color: #222222;
}

a:hover {
  color: #000000;
}

/* ==========================================================
   REMOVE BLUE VISUAL ACCENTS
   ========================================================== */

[style*="color: blue"],
[style*="color:#"],
.status-card span {
  color: inherit;
}
/* TBAG_OPERATOR_IDENTITY_POLISH_V1 */

#authSignedIn {
  display: grid;
  gap: 12px;
  width: 100%;
}

#operatorIdentity {
  display: block;
  width: 100%;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #ffffff !important;
  font-size: 12px;
  line-height: 1.45;
}

#authSignedIn #signOut {
  width: 100%;
  min-height: 42px;
  background: #0d0d0d !important;
  color: #ffffff !important;
  border: 1px solid #292929 !important;
}

#authSignedIn #signOut:hover {
  background: #292929 !important;
}

/* ==========================================================
   TBAG_PUBLIC_LANDING_STYLE_V1
   BookAddis Technology PLC
   ========================================================== */

.tbag-auth-gate {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  align-items: center !important;
  padding: 42px 32px 24px !important;
  background: #f3f3f1 !important;
  color: #111111;
}

.tbag-public-shell {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .72fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7d7d4;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.tbag-public-hero {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  padding: 44px 54px 38px;
  border-right: 1px solid #ddddda;
  background: #ffffff;
}

.tbag-public-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tbag-public-brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #111111;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
}

.tbag-public-brand strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  color: #111111;
}

.tbag-public-brand span {
  display: block;
  margin-top: 4px;
  color: #777777;
  font-size: 12px;
}

.tbag-public-copy {
  margin: auto 0;
  padding: 44px 0 38px;
}

.tbag-public-eyebrow,
.tbag-login-kicker {
  margin-bottom: 18px;
  color: #666666;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .13em;
}

.tbag-public-copy h1 {
  max-width: 690px;
  margin: 0;
  color: #111111;
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 800;
}

.tbag-public-lead {
  max-width: 670px;
  margin: 28px 0 0;
  color: #525252;
  font-size: 17px;
  line-height: 1.65;
}

.tbag-public-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid #ddddda;
  border-radius: 12px;
  background: #ddddda;
}

.tbag-public-capabilities > div {
  min-height: 118px;
  padding: 20px;
  background: #ffffff;
}

.tbag-public-capabilities strong {
  display: block;
  margin-bottom: 7px;
  color: #111111;
  font-size: 14px;
}

.tbag-public-capabilities span {
  color: #666666;
  font-size: 12px;
  line-height: 1.5;
}

.tbag-public-boundary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid #e2e2df;
}

.tbag-public-boundary-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
}

.tbag-public-boundary strong {
  color: #111111;
  font-size: 13px;
}

.tbag-public-boundary p {
  max-width: 620px;
  margin: 5px 0 0;
  color: #707070;
  font-size: 11px;
  line-height: 1.55;
}


.tbag-public-login {
  display: flex;
  align-items: center;
  padding: 48px 36px;
  background: #fafaf8;
}

.tbag-public-login .tbag-auth-gate-card {
  width: 100% !important;
  max-width: none !important;
  padding: 34px !important;
  border: 1px solid #d9d9d6 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.tbag-public-login .tbag-auth-brand {
  display: none;
}

.tbag-public-login .tbag-auth-gate-card h2 {
  margin: 0 0 9px !important;
  color: #111111 !important;
  font-size: 27px !important;
  letter-spacing: -.025em;
}

.tbag-public-login .tbag-auth-intro {
  margin-bottom: 28px;
  color: #666666 !important;
  font-size: 14px;
  line-height: 1.6;
}

.tbag-public-login .auth-box label:not(.tbag-show-password) {
  color: #222222 !important;
  font-size: 12px;
}

.tbag-public-login .auth-box input {
  min-height: 48px !important;
  border: 1px solid #c8c8c5 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
}

.tbag-public-login .auth-box input:focus {
  outline: 2px solid #111111;
  outline-offset: 1px;
  border-color: #111111 !important;
}

.tbag-public-login #signIn,
.tbag-public-login #resetPassword {
  min-height: 48px !important;
  border-radius: 7px !important;
  font-weight: 750;
}

.tbag-public-login #signIn {
  margin-top: 3px;
}

.tbag-public-login .tbag-auth-security-note {
  color: #777777 !important;
  font-size: 11px;
}

.tbag-public-footer {
  width: min(1180px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  color: #777777;
  font-size: 11px;
  line-height: 1.5;
}

.tbag-app-product-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 4px;
  padding: 18px 2px 6px;
  border-top: 1px solid #dddddd;
  color: #777777;
  font-size: 11px;
  line-height: 1.5;
}


@media (max-width: 900px) {

  .tbag-auth-gate {
    padding: 20px 14px !important;
  }

  .tbag-public-shell {
    grid-template-columns: 1fr;
  }

  .tbag-public-hero {
    min-height: auto;
    padding: 32px 28px;
    border-right: 0;
    border-bottom: 1px solid #ddddda;
  }

  .tbag-public-copy {
    padding: 42px 0 28px;
  }

  .tbag-public-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .tbag-public-login {
    padding: 28px;
  }

}


@media (max-width: 560px) {

  .tbag-public-capabilities {
    grid-template-columns: 1fr;
  }

  .tbag-public-login {
    padding: 18px;
  }

  .tbag-public-login .tbag-auth-gate-card {
    padding: 24px !important;
  }

  .tbag-public-footer,
  .tbag-app-product-footer {
    flex-direction: column;
    gap: 4px;
  }

}


/* TBAG_PUBLIC_LANDING_AUTH_HIDE_FIX_V1 */
/* Signed-out landing must disappear once authentication succeeds. */
#authGate.tbag-auth-hidden {
  display: none !important;
}
