/* Sterling Connect: learner Settings (notification channels, sign-in and security),
   Mentoring (info chips, rating card) and Interview prep (category chip, example
   answer). Values are the design's inline styles (Sterling Connect.dc.html). */

/* ---------- Settings › Notifications: Both / Email / In-app ---------- */
.lx-nrow { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 0; border-top: 1px solid #EEF0F4; }
.lx-seg { display: flex; padding: 3px; background: #EEF0F4; border-radius: 999px; gap: 3px; }
.lx-seg[hidden] { display: none; }
.lx-seg-opt { position: relative; display: inline-flex; margin: 0; }
.lx-seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.lx-seg-opt span { display: block; height: 32px; padding: 0 12px; border-radius: 999px; background: transparent; color: #01204E; font: 600 13px/32px 'DM Sans', var(--f-body, system-ui), sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.lx-seg-opt input:checked + span { background: #FFFFFF; box-shadow: 0 1px 3px rgba(1, 32, 78, .12); }
.lx-seg-opt input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }

/* ---------- Settings › Sign-in and security ---------- */
.lx-btn-line { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid #01204E; border-radius: 999px; color: #01204E; background: #FFFFFF; font: 600 14px/37px 'DM Sans', var(--f-body, system-ui), sans-serif; text-decoration: none; white-space: nowrap; }
.lx-btn-line:hover { background: #F2F5FA; color: #01204E; text-decoration: none; }
.lx-alert { display: flex; gap: 16px; align-items: center; cursor: pointer; margin: 0; }
.lx-alert.is-forced { cursor: default; }
.lx-alert.is-forced .switch input { cursor: default; }
.lx-sess { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #F2F5FA; }
.lx-signout { height: 34px; padding: 0 12px; border: none; border-radius: 999px; background: transparent; color: #9E2A21; font: 600 13px/18px 'DM Sans', var(--f-body, system-ui), sans-serif; cursor: pointer; }
.lx-signout:hover { background: #FDECEA; }
.lx-signout:focus-visible { outline: 3px solid #31FE01; outline-offset: 2px; }

/* ---------- Mentoring: info chips and the rating card ---------- */
.lx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lx-chip { height: 30px; padding: 0 12px; border-radius: 999px; background: #F2F5FA; color: #01204E; font: 600 13px/30px 'DM Sans', var(--f-body, system-ui), sans-serif; }
.lx-rate { background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.lx-rate-opts { display: flex; gap: 6px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; min-width: 0; }
.lx-rate-opt { position: relative; display: inline-flex; margin: 0; }
.lx-rate-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.lx-rate-opt span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; border: 1.5px solid #DFE3EA; background: #FFFFFF; color: #01204E; font: 700 15px/41px 'DM Sans', var(--f-body, system-ui), sans-serif; text-align: center; cursor: pointer; display: block; }
.lx-rate-opt input:checked + span { border-color: #01204E; background: #01204E; color: #FFFFFF; }
.lx-rate-opt input:focus-visible + span { outline: 3px solid #31FE01; outline-offset: 2px; }
.lx-rate-note { padding: 10px 12px; border: 1px solid #C5CBD5; border-radius: 12px; font-size: 14px; line-height: 22px; color: #121826; resize: vertical; outline: none; width: 100%; font-family: inherit; }
.lx-rate-note:focus { border-color: #01204E; }
.lx-rate-skip { height: 40px; padding: 0 14px; border: none; border-radius: 999px; background: transparent; color: #01204E; font: 600 14px/18px 'DM Sans', var(--f-body, system-ui), sans-serif; cursor: pointer; }
.lx-rate-skip:hover { background: #F2F5FA; }
.lx-rate-send { height: 40px; padding: 0 16px; border: none; border-radius: 999px; background: #01204E; color: #FFFFFF; font: 600 14px/18px 'DM Sans', var(--f-body, system-ui), sans-serif; cursor: pointer; }
/* Grey until a score is picked (design rate.bg / rate.fg). */
.lx-rate:not(:has(.lx-rate-opt input:checked)) .lx-rate-send { background: #DFE3EA; color: #6B7485; }

/* ---------- Interview prep: category chip and example answer ---------- */
.lx-q-cat { height: 22px; padding: 0 8px; border-radius: 6px; background: #F2F5FA; color: #01204E; font: 600 11px/22px 'DM Sans', var(--f-body, system-ui), sans-serif; flex: none; white-space: nowrap; }
.lx-model { display: block; }
.lx-model > summary { display: inline-block; height: 34px; padding: 0 14px; border: 1.5px solid #01204E; border-radius: 999px; background: #FFFFFF; color: #01204E; font: 600 13px/31px 'DM Sans', var(--f-body, system-ui), sans-serif; cursor: pointer; list-style: none; white-space: nowrap; }
.lx-model > summary::-webkit-details-marker { display: none; }
.lx-model > summary:focus-visible { outline: 3px solid #31FE01; outline-offset: 2px; }
.lx-model > summary .lx-hide, .lx-model[open] > summary .lx-show { display: none; }
.lx-model[open] > summary .lx-hide { display: inline; }
.lx-model-box { margin-top: 8px; padding: 14px; border-radius: 14px; background: #F3FFEE; font-size: 14px; line-height: 22px; color: #121826; }
