/*
 * The free WhatsApp tools (/outils), on top of the purchased template (main.css). Prefixed t- so the template's
 * classes stay untouched; same palette as the home page (landing.css).
 */
:root {
    --t-ink: #0A1908;
    --t-text: #404046;
    --t-muted: #6B6E73;
    --t-line: #E3EAE4;
    --t-line-soft: #EFF0F0;
    --t-lime: #70D715;
    --t-green: #2A8737;
    --t-green-soft: #F4FBEE;
    --t-chat: #EFEAE2;
    --t-out: #D9FDD3;
    --t-error: #B42318;
}

[x-cloak] { display: none !important; }

.t-page { color: var(--t-text); font-size: 16px; line-height: 1.7; }
.t-page code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; }
.t-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.t-ico.-sm { width: 15px; height: 15px; }
.t-ico.-lg { width: 22px; height: 22px; }
.t-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.t-wrap.-wide { max-width: 1180px; }
.t-wrap.-narrow { max-width: 820px; }
.t-section { padding-bottom: 96px; }

/* ---------- Hero ---------- */
.t-hero { padding: 150px 24px 32px; background: linear-gradient(180deg, var(--t-green-soft) 0%, #fff 100%); text-align: center; }
.t-hero__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.t-crumbs { font-size: 14px; color: var(--t-muted); }
.t-crumbs a { color: var(--t-muted); }
.t-crumbs a:hover { color: var(--t-green); }
.t-crumbs span[aria-current] { color: var(--t-ink); }
.t-hero h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; font-weight: 700; color: var(--t-ink); }
.t-hero p { margin: 0; max-width: 680px; font-size: 18px; color: var(--t-text); }
.t-eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t-green); }
.t-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 4px; }
.t-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 200px; background: #fff; border: 1px solid var(--t-line); font-size: 14px; color: var(--t-ink); }
.t-chip svg { color: var(--t-green); }
.t-lang { font-size: 14px; color: var(--t-muted); text-decoration: underline; }

/* ---------- Tool panes ---------- */
.t-tool { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; padding-top: 16px; }
.t-tool.-top { align-items: flex-start; }
.t-card { flex: 1 1 460px; min-width: 0; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--t-line); box-shadow: 0 20px 50px rgba(10, 25, 8, .08); display: flex; flex-direction: column; gap: 22px; }
.t-card.-single { max-width: 760px; margin: 0 auto; flex: none; width: 100%; box-sizing: border-box; }
.t-pane { flex: 1 1 420px; min-width: 0; border-radius: 20px; }
.t-pane.-dark { background: var(--t-ink); padding: 28px; color: rgba(255, 255, 255, .78); }
.t-pane.-grey { background: #F2F3F2; padding: 32px; }
.t-pane.-chat { background: var(--t-chat); padding: 28px 22px; }
.t-field { display: flex; flex-direction: column; gap: 8px; }
.t-label { font-size: 15px; font-weight: 600; color: var(--t-ink); }
.t-label small { font-size: 15px; font-weight: 400; color: var(--t-muted); }
.t-row { display: flex; gap: 10px; }
.t-row.-wrap { flex-wrap: wrap; }
.t-split { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.t-help { font-size: 14px; color: var(--t-muted); }
.t-help.-error { color: var(--t-error); }
.t-help a { color: var(--t-green); text-decoration: underline; }
.t-input, .t-select, .t-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid #DFE3E1;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    color: var(--t-ink);
    outline: none;
}
.t-select { cursor: pointer; }
.t-select.-country { flex: 0 0 210px; min-width: 0; }
.t-textarea { resize: vertical; }
.t-input:focus, .t-select:focus, .t-textarea:focus { border-color: var(--t-green); box-shadow: 0 0 0 3px rgba(42, 135, 55, .15); }
.t-input.-xl { padding: 18px 20px; font-size: 20px; flex: 1 1 320px; min-width: 0; }
.t-input.-mono { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }

.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 200px;
    border: 1px solid transparent;
    background: var(--t-lime);
    color: #000 !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.t-btn:hover { background: #63c210; }
.t-btn.is-done { background: var(--t-ink); color: #fff !important; }
.t-btn.-ghost { background: #fff; border-color: #DFE3E1; color: var(--t-ink) !important; }
.t-btn.-ghost:hover { border-color: var(--t-green); background: var(--t-green-soft); }
.t-btn.-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.t-btn.-ghost-dark:hover { border-color: #fff; }
.t-btn.-xl { padding: 18px 28px; border-radius: 14px; font-size: 17px; font-weight: 600; }
.t-btn:disabled, .t-btn.is-disabled { background: #E3E6E4; color: #8A8D91 !important; cursor: not-allowed; pointer-events: none; }
.t-pill { padding: 8px 16px; border-radius: 200px; border: 1px solid #DFE3E1; background: #fff; font-family: inherit; font-size: 14px; color: var(--t-ink); cursor: pointer; }
.t-pill:hover, .t-pill.is-active { border-color: var(--t-ink); background: var(--t-green-soft); }
.t-pill.-sm { padding: 4px 12px; font-size: 13px; background: #F7F8F7; border-color: var(--t-line); }
.t-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.t-swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; box-shadow: inset 0 0 0 3px #fff; cursor: pointer; }
.t-swatch.is-active { border-color: var(--t-ink); }

.t-result { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px; background: #F7F8F7; }
.t-result__label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--t-muted); }
.t-result code { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--t-line); font-size: 14px; color: var(--t-ink); overflow-wrap: anywhere; }
.t-code { margin: 0; padding: 16px; border-radius: 12px; background: #061512; color: #E6EDE8; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Phone and WhatsApp bubbles ---------- */
.t-phone { width: 230px; height: 420px; border-radius: 34px; background: #000; padding: 9px; box-sizing: border-box; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); flex: none; }
.t-phone__screen { height: 100%; border-radius: 26px; background: var(--t-chat); overflow: hidden; display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; color: var(--t-ink); }
.t-phone__head { padding: 14px; background: #075E54; color: #fff; display: flex; align-items: center; gap: 10px; }
.t-phone__head strong { display: block; font-size: 13px; font-weight: 600; }
.t-phone__head small { font-size: 10px; opacity: .8; }
.t-phone__avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.t-phone__body { flex: 1; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; }
.t-phone__notice { align-self: center; padding: 3px 10px; border-radius: 8px; background: #FFF3C4; font-size: 10px; color: #5B4A00; text-align: center; }
.t-phone__compose { margin: 0 8px 10px; display: flex; gap: 6px; align-items: flex-end; }
.t-phone__compose div { flex: 1; min-height: 34px; max-height: 140px; overflow: hidden; padding: 8px 12px; border-radius: 18px; background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.t-phone__compose span { width: 34px; height: 34px; border-radius: 50%; background: #00A884; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.t-bubble { max-width: 92%; padding: 10px 12px 6px; border-radius: 12px 12px 4px 12px; background: var(--t-out); font-size: 15px; line-height: 1.5; color: #111B21; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); align-self: flex-end; overflow-wrap: anywhere; }
.t-bubble.-in { align-self: flex-start; background: #fff; border-radius: 4px 12px 12px 12px; }
.t-bubble__time { text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
.t-day { align-self: center; padding: 3px 12px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: 12px; color: #54656F; }
.t-qr { padding: 14px; border-radius: 16px; background: #fff; line-height: 0; }
.t-qr img { width: 180px; height: 180px; display: block; image-rendering: pixelated; }

/* ---------- Content below the tool ---------- */
.t-h2 { margin: 0; font-size: 32px; line-height: 1.3; font-weight: 700; color: var(--t-ink); }
.t-h2.-center { text-align: center; }
.t-stack { display: flex; flex-direction: column; gap: 32px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.t-grid.-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.t-tile { padding: 22px; border-radius: 16px; border: 1px solid var(--t-line-soft); }
.t-tile strong { display: block; font-size: 17px; font-weight: 600; color: var(--t-ink); }
.t-step { display: flex; flex-direction: column; gap: 10px; }
.t-step > span { width: 40px; height: 40px; border-radius: 50%; background: var(--t-ink); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.t-step h3 { margin: 0; font-size: 19px; font-weight: 600; color: var(--t-ink); }
.t-step p { margin: 0; }

.t-faq { display: flex; flex-direction: column; gap: 12px; }
.t-faq details { border: 1px solid var(--t-line-soft); border-radius: 12px; padding: 18px 22px; }
.t-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; color: var(--t-ink); }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary span { font-size: 22px; line-height: 1; transition: transform .2s; }
.t-faq details[open] summary span { transform: rotate(45deg); }
.t-faq p { margin: 12px 0 0; }

.t-cta { border-radius: 24px; background: var(--t-ink); padding: 44px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.t-cta > div { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; color: rgba(255, 255, 255, .78); }
.t-cta .t-eyebrow { font-size: 13px; color: var(--t-lime); }
.t-cta h2 { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 700; color: #fff; }
.t-cta p { margin: 0; }
.t-cta.-light { background: var(--t-green-soft); }
.t-cta.-light > div { color: var(--t-text); }
.t-cta.-light h2 { color: var(--t-ink); }

.t-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.t-tools.-hub { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.t-toolcard { padding: 24px; border-radius: 16px; border: 1px solid var(--t-line); background: #fff; display: flex; flex-direction: column; gap: 6px; color: var(--t-text) !important; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.t-toolcard:hover { border-color: #BFD9C2; box-shadow: 0 18px 40px rgba(10, 25, 8, .08); }
.t-toolcard strong { font-size: 18px; font-weight: 600; color: var(--t-ink); }
.t-toolcard em { font-style: normal; color: var(--t-green); font-weight: 500; }
.t-tools.-hub .t-toolcard { padding: 28px; border-radius: 20px; gap: 12px; }
.t-tools.-hub .t-toolcard strong { font-size: 20px; }
.t-toolcard__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--t-green-soft); color: var(--t-green); display: flex; align-items: center; justify-content: center; }

.t-table { overflow-x: auto; border: 1px solid var(--t-line-soft); border-radius: 16px; }
.t-table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.t-table th { padding: 14px 20px; text-align: left; font-weight: 600; color: var(--t-ink); background: #F7F8F7; }
.t-table td { padding: 14px 20px; border-top: 1px solid var(--t-line-soft); }

@media (max-width: 767px) {
    .t-hero { padding-top: 120px; }
    .t-card, .t-pane.-dark, .t-pane.-grey { padding: 22px; }
    .t-cta { padding: 28px; }
    .t-select.-country { flex-basis: 140px; }
    .t-h2 { font-size: 26px; }
}

@media print {
    body * { visibility: hidden; }
    .t-printable, .t-printable * { visibility: visible; }
    .t-printable { position: absolute; left: 0; top: 0; box-shadow: none !important; }
}

/* Light page: the dark logo from the start, not only once the header sticks */
.t-light-header .base-logo-first { opacity: 0; }
.t-light-header .base-logo-second { opacity: 1; }

/* Text formatter */
.t-tool-btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.t-line { min-height: 1.5em; }
.t-mono { padding: 0 4px; border-radius: 4px; background: rgba(0, 0, 0, .06); font-family: ui-monospace, Menlo, monospace; font-size: .9em; }
.t-quote { display: block; margin: 2px 0; padding: 2px 10px; border-left: 3px solid #25D366; background: rgba(0, 0, 0, .04); border-radius: 4px; }
td .t-quote { display: inline-block; }

/* Website button preview: the same look as public/js/cdn/widget.js */
.w-prev { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.w-launcher { position: relative; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(10, 25, 8, .25); }
.w-badge { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #E5484D; border: 2px solid #fff; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.w-teaser { position: relative; max-width: 260px; padding: 14px 34px 14px 16px; border-radius: 16px 16px 4px 16px; background: #fff; color: #0A1908; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 32px rgba(10, 25, 8, .16); }
.w-teaser strong { display: block; font-weight: 600; }
.w-teaser__x { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: #F1F3F2; color: #6B6E73; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.w-panel { width: 360px; max-width: 100%; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(10, 25, 8, .22); display: flex; flex-direction: column; }
.w-head { padding: 18px 18px 16px; display: flex; align-items: center; gap: 12px; }
.w-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex: none; }
.w-dot { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #7CF29A; border: 2px solid; }
.w-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.w-who strong { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-who span { font-size: 12.5px; opacity: .9; }
.w-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.w-body { padding: 18px 16px; background: #EFEAE2; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.w-day { align-self: center; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: 11px; color: #54656F; }
.w-bubble { align-self: flex-start; max-width: 85%; padding: 9px 12px 6px; border-radius: 4px 12px 12px 12px; background: #fff; font-size: 14px; line-height: 1.45; color: #111B21; white-space: pre-wrap; overflow-wrap: anywhere; }
.w-time { display: block; text-align: right; font-size: 10.5px; color: #667781; }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.w-chip { padding: 7px 12px; border-radius: 200px; border: 1px solid #D7DCD9; background: #fff; font-size: 13px; color: #0A1908; }
.w-compose { padding: 12px; display: flex; gap: 8px; align-items: center; border-top: 1px solid #EFF0F0; }
.w-compose > span { flex: 1; padding: 11px 14px; border-radius: 200px; background: #F4F5F4; font-size: 14px; color: #8A8D91; }
.w-compose i { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.w-foot { padding: 0 12px 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #8A8D91; }
.w-foot strong { color: #0A1908; }
