/* BoiChitro Suite – help page */
.bcs-help { max-width: 1080px; margin: 0 auto; padding: 0 0 40px; }
.bcs-help__hero { margin: 8px 0 18px; padding: 26px 24px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #4f46e5, #7c3aed 55%, #db2777); }
.bcs-help__hero h1 { margin: 0 0 6px !important; color: #fff !important; font-size: clamp(24px, 4vw, 32px) !important; font-weight: 800 !important; }
.bcs-help__hero p { margin: 0 !important; opacity: .92; font-weight: 600; }
.bcs-help__ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 22px; }
.bcs-help__way { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--tb, #eef0ff); border: 1px solid color-mix(in srgb, var(--t, #4f46e5) 25%, #fff); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.bcs-help__way:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px var(--t, #4f46e5); }
.bcs-help__way:focus-visible { outline: 2px solid var(--t); outline-offset: 2px; }
.bcs-help__ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--t, #4f46e5); }
.bcs-help__ico .bcs-i { width: 22px; height: 22px; }
.bcs-help__way strong { font-size: 15.5px; font-weight: 800; color: #1f2633; }
.bcs-help__way small { font-size: 12.5px; color: #4b5563; font-weight: 600; }
.bcs-help__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.bcs-help__form { border-top: 4px solid #4f46e5 !important; }
.bcs-help__mine { border-top: 4px solid #0d9488 !important; }
.bcs-help__lead { margin: 0 0 14px !important; color: #6b7487; font-size: 14px; }
.bcs-help__fine { margin: -4px 0 12px !important; font-size: 12.5px; color: #b45309; font-weight: 600; }
.bcs-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.bcs-help .bcs-link { margin-top: 10px; }
.bcs-sup-list { display: grid; gap: 8px; margin-bottom: 8px; }
.bcs-sup-item { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; cursor: pointer; }
.bcs-sup-item:hover { border-color: #0d9488; background: #f0fbf8; }
.bcs-sup-item > span:first-child { min-width: 0; font-size: 14px; color: #1f2633; overflow: hidden; text-overflow: ellipsis; }
.bcs-sup-item small { display: block; color: #8a93a6; font-size: 12px; }
.bcs-sup-badge { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #92400e; background: #fef3c7; }
.bcs-sup-badge.is-answered { color: #1d4ed8; background: #dbeafe; }
.bcs-sup-badge.is-closed { color: #166534; background: #dcfce7; }
.bcs-sup-thread { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.bcs-sup-thread[hidden] { display: none !important; }
.bcs-sup-thread__box { display: flex; flex-direction: column; width: 100%; max-width: 620px; max-height: min(88vh, 760px); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(15, 23, 42, .5); }
.bcs-sup-thread header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #eef0f5; background: #f7f7ff; }
.bcs-sup-thread header > div { flex: 1; min-width: 0; }
.bcs-sup-thread header strong { display: block; font-size: 16px; color: #4f46e5; }
.bcs-sup-thread header span[data-t-subject] { display: block; font-size: 13px; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcs-sup-x { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #475569; background: #fff; }
.bcs-sup-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fafbff; }
.bcs-sup-msg { align-self: flex-start; max-width: 82%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid #e6e8f0; font-size: 14px; line-height: 1.5; color: #1f2633; }
.bcs-sup-msg.is-me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #4f46e5; border-color: #4f46e5; color: #fff; }
.bcs-sup-msg.is-me a { color: #fff; }
.bcs-sup-who { display: block; font-size: 11px; font-weight: 800; opacity: .75; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .03em; }
.bcs-sup-msg img { display: block; max-width: 100%; max-height: 240px; margin-top: 6px; border-radius: 10px; }
.bcs-sup-msg time { display: block; margin-top: 4px; font-size: 11px; opacity: .65; }
.bcs-sup-thread form { padding: 12px 14px; border-top: 1px solid #eef0f5; }
.bcs-sup-thread textarea { min-height: 54px; resize: vertical; }
.bcs-sup-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.bcs-sup-actions .bcs-btn--primary { margin-left: auto; }
.bcs-sup-file { position: relative; cursor: pointer; font-size: 13px; font-weight: 700; color: #4f46e5; }
.bcs-sup-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html.bcs-lock { overflow: hidden; }
@media (max-width: 820px) { .bcs-help__grid { grid-template-columns: 1fr; } .bcs-sup-thread { padding: 0; align-items: stretch; } .bcs-sup-thread__box { max-height: none; height: 100%; border-radius: 0; } }
/* the help page isn't an account page: no sidebar grid */
.bcs-acc.bcs-help { display: block !important; max-width: 1080px; margin: 24px auto 48px; padding: 0 16px; }
.bcs-acc.bcs-help .bcs-help__grid > * { min-width: 0; }
.bcs-acc.bcs-help .bcs-card { margin: 0; }
.bcs-sup-list { align-content: start; }
.bcs-sup-item { min-height: 0; height: auto; }
.bcs-help button.bcs-help__way, .bcs-help button.bcs-help__way:hover, .bcs-help button.bcs-help__way:focus { background: var(--tb, #eef0ff) !important; color: #1f2633 !important; border: 1px solid color-mix(in srgb, var(--t, #4f46e5) 25%, #fff) !important; box-shadow: none; text-transform: none !important; letter-spacing: 0 !important; text-align: left !important; min-height: 0 !important; padding: 14px 16px !important; font-weight: inherit; line-height: 1.35 !important; }
.bcs-help .bcs-help__way strong { color: #1f2633 !important; }
.bcs-help .bcs-help__way small { color: #4b5563 !important; }
.bcs-acc.bcs-help { width: 100%; max-width: 1080px !important; }
/* chat in the page instead of the ticket form */
.bcs-help .bcs-help__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.bcs-help__chat { min-width: 0; }
.bcs-help__chat .bcs-help__fine { margin: 10px 4px 0 !important; color: #6b7487; font-weight: 500; }
@media (max-width: 820px) { .bcs-help .bcs-help__grid { grid-template-columns: 1fr; } }

/* 1.9.14: two ways to reach us — live chat or email; real person on request */
.bcs-help__pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 18px; }
.bcs-help button.bcs-help__opt { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px !important; border-radius: 14px; background: #fff !important; border: 2px solid #e3e7ef !important; cursor: pointer; text-align: left !important; text-transform: none !important; letter-spacing: 0 !important; min-height: 0 !important; color: #1f2633 !important; }
.bcs-help button.bcs-help__opt.is-on { border-color: var(--t, #4f46e5) !important; background: var(--tb, #eef0ff) !important; box-shadow: 0 10px 24px -18px var(--t, #4f46e5); }
.bcs-help__opt strong { font-size: 16px; font-weight: 800; color: #1f2633 !important; }
.bcs-help__opt small { font-size: 12.5px; color: #4b5563 !important; font-weight: 600; line-height: 1.35; }
.bcs-help__main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.bcs-help__panel[hidden] { display: none !important; }
.bcs-help__form .bcs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.bcs-help__who { margin: 0 0 12px !important; font-size: 13px; color: #475569; font-weight: 600; }
.bcs-help__req { margin: 14px 0 0 !important; padding: 10px 12px; border-radius: 10px; background: #f0fdf4; color: #166534; font-size: 13.5px; font-weight: 600; }
.bcs-help__req a { color: #15803d; text-decoration: underline; }
.bcs-help__human { padding: 4px 2px; }
.bcs-help__human-box { margin-top: 8px; padding: 12px 14px; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; }
.bcs-help__human-box p { margin: 0 0 10px !important; font-size: 13.5px; color: #475569; }
.bcs-help__human-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bcs-help .bcs-help__wa { background: #16a34a !important; color: #fff !important; border-color: #16a34a !important; }
.bcs-help .bcs-help__call { background: #ea580c !important; color: #fff !important; border-color: #ea580c !important; }
@media (max-width: 600px) { .bcs-help__form .bcs-grid2 { grid-template-columns: 1fr; } }
/* theme button styles must not darken the case list */
.bcs-help .bcs-sup-item { background: #fff !important; color: #1e293b !important; border: 1px solid #e2e8f0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
.bcs-help .bcs-sup-item:hover { background: #f8fafc !important; border-color: #c7d2fe !important; }
.bcs-help .bcs-sup-item strong { color: #4338ca !important; }
.bcs-help .bcs-sup-item small { color: #64748b !important; }
