/* C-About (2026-11-04/05): SmartHCM About - the About window (Site.Master, winAboutUs) and the login-page About popup
   (Account/Login.aspx) share these styles. Same layout as the ESS About page. */
.hab { direction: ltr; padding-bottom: 12px; background: #fff; color: #2f3b45; font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 12px; }
.hab-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 20px; border-bottom: 1px solid #e6eaed; background: linear-gradient(110deg, #e9f8fa 0%, #fff 70%); }
.hab-hero img { width: 170px; height: 45px; }   /* fixed size: the window takes its height from the content (AutoHeight) before the image loads */
.hab-cur { text-align: right; }
.hab-eyebrow { display: block; color: #6b7780; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hab-cur-row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 4px 0 8px; }
.hab-cur-name { color: #0b8a9a; font-size: 28px; font-weight: 800; line-height: 1.1; }
.hab-cur-no { padding: 2px 9px; border-radius: 20px; background: #e3f6f8; color: #0b8a9a; font-size: 12px; font-weight: 700; }
.hab-cur-date { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.hab-cur-date .fa { color: #6b7780; }
.hab-cur-date b { font-weight: 600; }
.hab-cur-ago { display: block; min-height: 15px; margin-top: 2px; color: #6b7780; font-size: 11.5px; }   /* keeps its line when there is no date, so the height does not change after load */
.hab-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 16px; }
.hab-mini { min-width: 0; padding: 11px 13px; border: 1px solid #d5dde3; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .07); }
.hab-mini.is-cur { grid-column: 1 / -1; border-color: transparent; background: #1aa5b6; background: linear-gradient(135deg, #22b3c2 0%, #1199aa 55%, #0b8a9a 100%); color: #fff; box-shadow: 0 2px 8px rgba(11, 138, 154, .28); }   /* the app the user is in - theme teal, deep enough for white text */
.hab-mini.is-cur .hab-mini-h .fa, .hab-mini.is-cur .hab-v, .hab-mini.is-cur .hab-d { color: #fff; }
.hab-mini.is-cur .hab-v { font-size: 21px; }
.hab-mini.is-cur .hab-k { color: rgba(255, 255, 255, .85); }
.hab-mini.is-cur .hab-none { color: rgba(255, 255, 255, .85); }
.hab .fa::before { color: inherit; }   /* the global ".fa::before { color: #779ccd }" would tint every icon here - follow the card colours instead */
.hab-badge { margin-left: auto; padding: 1px 8px; border-radius: 20px; background: rgba(255, 255, 255, .22); color: #fff; font-size: 10.5px; font-weight: 700; }
.hab-mini-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; }
.hab-mini-h .fa { width: 16px; color: #6b7780; text-align: center; }
.hab-mini-r { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; padding: 3px 0; }
.hab-k { color: #6b7780; font-size: 11.5px; }
.hab-v { font-size: 19px; font-weight: 800; line-height: 1.25; }
.hab-d { font-size: 12.5px; font-weight: 600; }
.hab .hab-none { color: #6b7780; font-weight: 400; font-style: italic; }
.hab-contact { margin: 0 16px 12px; }   /* website / email in their own card */
.hab-contact-r { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
.hab-ct, .hab-ct:link, .hab-ct:visited { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 10px; background: #f4f8f9; color: #0b8a9a; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.hab-ct:hover { background: #e3f6f8; text-decoration: none; }
.hab-ct-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #0b8a9a; box-shadow: 0 0 0 1px #dbe6e8; }
.hab-ct > span:last-child { min-width: 0; word-wrap: break-word; }
.hab-ct small { display: block; color: #6b7780; font-size: 11px; font-weight: 500; }
.hab-logos { display: flex; margin: 0 16px; border-top: 1px solid #e6eaed; }
.hab-logos > div { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 0; }
.hab-logos small { color: #6b7780; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hab-logos img { max-width: 100%; height: 30px; object-fit: contain; }

/* ---- Login page (Account/Login.aspx): About link + popup ---- */
.hab-pill-w { margin-top: 10px; text-align: center; }
.hab-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid #d5dde3; border-radius: 20px; background: #fff; color: #6b7780; font-size: 12px; line-height: 1.4; cursor: pointer; }
.hab-pill:hover, .hab-pill:focus { border-color: #bfe6ea; background: #f1fafb; color: #0b8a9a; outline: 0; }
.hab-pill .fa, .hab-pill .fa::before { color: #0b8a9a; }
.hab-pill-x { color: #0b8a9a; font-weight: 700; }
.hab-pill-x:not(:empty)::before { content: "\00b7"; margin-right: 6px; color: #b6bfc5; font-weight: 400; }
.hab-pop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 30000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 30, 40, .45); }
.hab-pop.is-open { display: flex; }
.hab-pop-box { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; border-radius: 14px; background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .25); }
.hab-pop-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #e6eaed; color: #2f3b45; font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 14px; font-weight: 700; }
.hab-pop-h .fa { margin-right: 8px; color: #0b8a9a; }
.hab-pop-h .fa::before { color: inherit; }
.hab-pop-x { padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #6b7780; font-size: 22px; line-height: 1.2; cursor: pointer; }
.hab-pop-x:hover, .hab-pop-x:focus { background: #f1f4f6; color: #2f3b45; outline: 0; }
@media (max-width: 520px) { .hab-pair, .hab-contact-r { grid-template-columns: minmax(0, 1fr); } .hab-cur { text-align: left; } .hab-cur-row { justify-content: flex-start; } }
