/* Support portal on jetbookin.com: paper cards on the carbon desk, the site's fonts and highlighter. */
.jbh-portal { --ink: #16130f; --ink-2: #5d574d; --paper: #f7f5ef; --rule: #c9c3b6; --hl: #ffd84a; --stamp: #5b3fd1; display: grid; gap: 1.5rem; max-width: 46rem; margin: 0 auto 4rem; font-family: "Fira Sans", system-ui, sans-serif; }
.jbh-card, .jbh-ticket { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(1.25rem, 3.5vw, 2rem); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .5); }
body.jbs-site:not(.elementor-page) .page-content .jbh-portal h2, .jbh-card h2, .jbh-ticket h2 { font-family: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: 1.7rem; line-height: 1.1; margin: 0 0 .5rem; color: var(--ink); scroll-margin-top: 6rem; }
.jbh-card p { margin: 0 0 1rem; color: var(--ink-2); }
.jbh-card--done { border-top: 6px solid var(--stamp); }
.jbh-hint a, .jbh-portal a { color: var(--stamp); }
.jbh-form { display: grid; gap: 1rem; }
.jbh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .jbh-row { grid-template-columns: 1fr; } }
.jbh-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.jbh-form small { font-weight: 400; color: var(--ink-2); }
.jbh-portal input:not([type=checkbox]), .jbh-portal select, .jbh-portal textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #8a8376; border-radius: 4px; padding: .6rem .75rem; box-sizing: border-box; }
.jbh-portal textarea { resize: vertical; }
.jbh-portal :focus-visible { outline: 2px solid var(--stamp); outline-offset: 2px; }
.jbh-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; }
.jbh-check input { margin-top: .25rem; }
.jbh-hp, .jbh-sr { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jbh-btn { justify-self: start; font: inherit; font-weight: 600; background: var(--hl); color: var(--ink); border: 0; border-radius: 4px; padding: .7rem 1.3rem; cursor: pointer; }
.jbh-btn:hover { background: #ffe27a; }
.jbh-btn--ghost { background: transparent; border: 1px solid var(--ink); }
.jbh-btn--ghost:hover { background: rgba(0, 0, 0, .05); }
.jbh-inline { display: flex; gap: .6rem; flex-wrap: wrap; }
.jbh-inline input { flex: 1 1 14rem; width: auto !important; }
.jbh-err { color: #b3261e !important; font-weight: 600; }
.jbh-ok { color: #0b6b3a !important; font-weight: 600; }
.jbh-ticket__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); margin-bottom: 1rem; }
.jbh-status { padding: .15rem .55rem; border: 2px solid currentColor; border-radius: 3px; font-weight: 700; }
.jbh-status--open { color: var(--stamp); } .jbh-status--waiting { color: #8a5300; } .jbh-status--resolved, .jbh-status--closed { color: #0b6b3a; }
.jbh-thread { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .9rem; }
.jbh-msg { border-left: 3px solid var(--rule); padding: .2rem 0 .2rem 1rem; }
.jbh-msg--staff { border-left-color: var(--stamp); }
.jbh-msg__meta { font-size: .8rem; color: var(--ink-2); margin-bottom: .3rem; }
.jbh-msg__meta strong { color: var(--ink); }
.jbh-msg__body { overflow-wrap: anywhere; line-height: 1.55; }
.jbh-reply { margin-top: 1rem; border-top: 1px dashed var(--rule); padding-top: 1rem; }
.jbh-close { margin-top: .8rem; }
body.jbs-site:not(.elementor-page) .page-content .jbh-portal strong { color: var(--ink); }
body.jbs-site:not(.elementor-page) .page-content .jbh-portal a { color: var(--stamp); }
body.jbs-site .page-content .jbh-portal ol, body.jbs-site .page-content .jbh-portal li { margin: 0; }

/* My account tabs (inside WooCommerce's account page) */
.jbh-account { max-width: none; margin: 0; }
.jbh-account h3 { font-size: 1rem; margin: 1.2rem 0 .5rem; color: var(--ink); }
.jbh-key { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.jbh-key code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 1.05rem; letter-spacing: .04em; background: #fff; border: 1px dashed var(--rule); border-radius: 4px; padding: .45rem .7rem; color: var(--ink); }
.jbh-key .jbh-btn { padding: .4rem .9rem; font-size: .85rem; }
.jbh-status--l-active { color: #0b6b3a; } .jbh-status--l-expired { color: #8a5300; } .jbh-status--l-disabled { color: #b3261e; }
.jbh-sites, .jbh-tickets { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .1rem; }
.jbh-sites li, .jbh-tickets li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem 0; border-bottom: 1px dashed var(--rule); color: var(--ink); }
.jbh-sites small, .jbh-tickets small { color: var(--ink-2); }
.jbh-sites form { margin: 0; }
.jbh-link { background: none; border: 0; padding: 0; font: inherit; color: var(--stamp); text-decoration: underline; cursor: pointer; }
.jbh-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem !important; }
.jbh-actions .jbh-btn { text-decoration: none; }
body.jbs-site .page-content .jbh-account a.jbh-btn { color: var(--ink); text-decoration: none; }

/* WooCommerce My account on the site: tabs on top, cards full width (the theme's floats leave a narrow column). */
body.woocommerce-account .woocommerce { display: grid; gap: 1.5rem; max-width: 52rem; margin: 0 auto 4rem; }
body.woocommerce-account .woocommerce-MyAccount-navigation, body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
body.jbs-site:not(.elementor-page) .page-content .woocommerce-MyAccount-navigation a, body.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: .45rem .95rem; border: 1px solid rgba(247, 245, 239, .3); border-radius: 999px; color: #f7f5ef; text-decoration: none; font-family: "Fira Sans", system-ui, sans-serif; font-size: .9rem; }
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover { border-color: #f7f5ef; }
body.jbs-site:not(.elementor-page) .page-content .woocommerce-MyAccount-navigation .is-active a, body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: #ffd84a; border-color: #ffd84a; color: #16130f; font-weight: 600; }
body.woocommerce-account .jbh-account { gap: 1.25rem; }
/* The theme styles code and buttons for its own pages: keep the paper look inside the cards. */
body.jbs-site:not(.elementor-page) .page-content .jbh-portal .jbh-key code, body .jbh-portal .jbh-key code { font-size: 1rem; padding: .4rem .65rem; border-color: var(--rule); background: #fff; color: var(--ink); }
body .jbh-portal button.jbh-btn { background: var(--hl); color: var(--ink); border: 0; }
body .jbh-portal button.jbh-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
body .jbh-portal button.jbh-btn--ghost:hover { background: rgba(0, 0, 0, .05); }
body .jbh-portal button.jbh-link, body .jbh-portal button.jbh-link:hover { background: none; border: 0; color: var(--stamp); padding: 0; }
body.jbs-site:not(.elementor-page) .page-content .jbh-account a.jbh-btn--ghost { color: var(--ink); }
