/* Home page styles (sections, redesign 2026-11) — loaded only by about/home.html */
.free-session-section {
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.08) 0%, rgba(var(--sub-color-rgb), 0.12) 100%);
}
.free-session-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}
.free-session-icon {
    color: var(--main-color);
}
.free-session-desc {
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ── Hero Free Trial Button ───────────────────────────── */
.btn-free-trial {
    background: linear-gradient(135deg, var(--sub-color) 0%, var(--main-color) 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(var(--sub-color-rgb), 0.45) !important;
    transition: box-shadow 0.3s, transform 0.3s !important;
}
.btn-free-trial:hover {
    box-shadow: 0 8px 28px rgba(var(--sub-color-rgb), 0.65) !important;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%) !important;
    transform: translateY(-4px) !important;
}
.free-trial-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    background: var(--second-main-color);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 6px rgba(var(--second-main-color-rgb, 0, 33, 87), 0.4);
    pointer-events: none;
    white-space: nowrap;
}
.free-trial-shimmer {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
    animation: btn-shimmer 2.6s infinite;
    pointer-events: none;
}
@keyframes btn-shimmer {
    0%   { left: -75%; }
    55%  { left: 130%; }
    100% { left: 130%; }
}

/* ── Floating Sticky Widget ───────────────────────────── */
.free-session-sticky {
    position: fixed;
    right: -300px;
    bottom: 210px;
    /* Below the fixed navbar (1030) so it never covers navigation. */
    z-index: 1025;
    transition: right 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.free-session-sticky.visible {
    right: 0;
}
.fss-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 16px 0 0 16px;
    padding: 12px 18px 12px 14px;
    box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.13);
    text-decoration: none !important;
    color: inherit;
    border-left: 4px solid var(--sub-color);
    min-width: 210px;
    transition: background 0.2s;
}
.fss-inner:hover {
    background: #fff8f0;
    color: inherit;
}
.fss-icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sub-color), var(--main-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
.fss-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #28a745;
    border: 2px solid #fff;
    animation: fss-pulse 1.6s ease-in-out infinite;
}
.fss-dot.pending {
    background: var(--sub-color);
    animation: none;
}
@keyframes fss-pulse {
    0%, 100% { transform: scale(1);   opacity: 1;   }
    50%       { transform: scale(1.35); opacity: 0.65; }
}
.fss-body {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.fss-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--sub-color);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.fss-title {
    font-size: 0.87rem;
    color: #222;
    font-weight: 700;
}
.fss-arrow {
    color: #ccc;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
    transition: color 0.2s, transform 0.2s;
}
.fss-inner:hover .fss-arrow {
    color: var(--sub-color);
    transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════════════
   Home redesign 2026-11 — section system (hp-*)
   ══════════════════════════════════════════════════════════════ */
.hp-page {
    --hp-ink: var(--second-main-color, #002157);
    --hp-muted: #5b6b82;
    --hp-line: rgba(0, 33, 87, 0.08);
    --hp-radius: 20px;
    --hp-shadow: 0 1px 2px rgba(0, 33, 87, 0.04), 0 12px 32px -12px rgba(0, 33, 87, 0.14);
    --hp-shadow-hover: 0 2px 4px rgba(0, 33, 87, 0.05), 0 22px 44px -16px rgba(0, 120, 255, 0.28);
    --hp-grad: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%);
}

.hp-section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.hp-section--tint { background: linear-gradient(180deg, #f3f8ff 0%, #f9fbff 100%); }
.hp-section + .hp-section:not(.hp-section--tint):not(.free-session-section) { border-top: 1px solid var(--hp-line); }

/* Section heads */
.hp-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.hp-head--start { margin-inline: 0; text-align: start; }
.hp-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .38rem .9rem; margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(var(--main-color-rgb), .08);
    color: var(--main-color);
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hp-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hp-grad); }
.hp-eyebrow--light { background: rgba(255, 255, 255, .16); color: #fff; }
.hp-eyebrow--light::before { background: #fff; }
.hp-title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.15; letter-spacing: -.01em;
    color: var(--hp-ink); margin-bottom: 1rem;
}
.hp-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--hp-muted); margin-bottom: 1.25rem; }
.hp-lead--strong { color: var(--hp-ink); font-weight: 600; }
.hp-body { font-size: 1.05rem; line-height: 1.85; color: var(--hp-muted); margin-bottom: 1.75rem; }
.hp-empty { width: 100%; text-align: center; color: var(--hp-muted); padding: 2rem 0; list-style: none; }
.hp-btn { border-radius: 999px; padding-inline: 1.6rem; }
[dir="rtl"] .hp-dir-icon, html[lang="ar"] .hp-dir-icon { transform: scaleX(-1); }

/* Cards */
.hp-card {
    position: relative; height: 100%;
    background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
    padding: 1.75rem 1.6rem; box-shadow: var(--hp-shadow);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.hp-card:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-hover); border-color: rgba(var(--main-color-rgb), .22); }
.hp-card-title { font-size: 1.2rem; line-height: 1.3; margin: 0 0 .5rem; color: var(--hp-ink); }
.hp-card-text { color: var(--hp-muted); line-height: 1.7; margin: 0; }
.hp-card--feature { text-align: start; overflow: hidden; }
.hp-card--feature::after {
    content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
    background: var(--hp-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.hp-card--feature:hover::after { transform: scaleX(1); }
.hp-card--row { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem; }

.hp-icon {
    width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--hp-grad); color: #fff; font-size: 1.35rem; margin-bottom: 1.15rem;
    box-shadow: 0 10px 22px -10px rgba(var(--main-color-rgb), .7);
    transition: transform .35s ease;
}
.hp-card:hover .hp-icon { transform: rotate(-6deg) scale(1.06); }
.hp-icon--soft { background: rgba(var(--main-color-rgb), .1); color: var(--main-color); box-shadow: none; margin-bottom: 0; }

/* Media frame */
.hp-media-frame { position: relative; border-radius: 28px; padding: 10px; background: var(--hp-grad); box-shadow: 0 30px 60px -30px rgba(0, 33, 87, .45); }
.hp-media-frame img { border-radius: 20px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-video { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 33, 87, .45); }

/* Checklist (video points) */
.hp-checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.hp-checklist li {
    display: flex; gap: .85rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--hp-line); border-radius: 14px; padding: .85rem 1rem;
    color: var(--hp-ink); line-height: 1.6;
}
.hp-checklist-icon { color: var(--sub-color); font-size: 1.15rem; line-height: 1.5; }

/* Chat band */
.hp-chat .hp-title { color: #fff; }
.hp-chat-illustration { max-height: 380px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .25)); }

/* Teachers */
.hp-teacher-role { color: var(--main-color); font-weight: 600; }

/* Testimonials */
.hp-quote { display: flex; flex-direction: column; padding: 2rem 1.9rem 1.6rem; overflow: hidden; }
.hp-quote::before {
    content: "\201C"; position: absolute; inset-inline-end: 1.1rem; top: -.6rem;
    font: 700 7rem/1 Georgia, serif; color: rgba(var(--main-color-rgb), .09); pointer-events: none;
}
.hp-stars { color: #f6b100; font-size: .9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.hp-quote-text { flex: 1; margin: 0 0 1.5rem; font-size: 1.06rem; line-height: 1.8; color: var(--hp-ink); }
.hp-quote-author { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px dashed var(--hp-line); }
.hp-quote-author strong { display: block; color: var(--hp-ink); }
.hp-quote-role { display: block; color: var(--main-color); font-weight: 600; }
.hp-quote-meta { display: block; color: var(--hp-muted); }
.hp-avatar {
    width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--hp-grad); color: #fff; font-weight: 700; font-size: 1.15rem;
}

/* Family bundle */
.hp-section--bundle { background: radial-gradient(1200px 500px at 50% -10%, rgba(var(--main-color-rgb), .08), transparent 70%), #fff; }
.hp-stats {
    list-style: none; padding: 0; margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 1040px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem;
}
.hp-stats li {
    display: flex; align-items: center; gap: .8rem;
    padding: 1rem 1.15rem; border-radius: 16px; background: #fff;
    border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow);
    font-weight: 700; color: var(--hp-ink); line-height: 1.4;
}
.hp-stats li i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--sub-color-rgb), .14); color: #1f9a33; }
.hp-subblock { margin-top: clamp(2.5rem, 5vw, 4rem); }
.hp-subhead { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.hp-subhead h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--hp-ink); margin-bottom: .6rem; }
.hp-subhead p { color: var(--hp-muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }

.hp-plan { text-align: center; padding: 2.25rem 1.75rem; display: flex; flex-direction: column; align-items: center; }
.hp-plan .hp-icon { margin-inline: auto; }
.hp-plan-meta { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--main-color); margin-bottom: .35rem; }
.hp-plan-name { font-size: 1.45rem; color: var(--hp-ink); margin-bottom: .35rem; }
.hp-plan-price { font-size: 1.15rem; font-weight: 800; background: var(--hp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.hp-plan--featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--hp-grad) border-box; box-shadow: 0 30px 60px -28px rgba(var(--main-color-rgb), .55); }
@media (min-width: 992px) { .hp-plan--featured { transform: translateY(-12px); } .hp-plan--featured:hover { transform: translateY(-18px); } }
.hp-plan-ribbon { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--hp-grad); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(var(--main-color-rgb), .8); }
[dir="rtl"] .hp-plan-ribbon, html[lang="ar"] .hp-plan-ribbon { transform: translateX(50%); }

.hp-compare { display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.25rem 1.35rem; border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); transition: border-color .3s, box-shadow .3s; }
.hp-compare:hover { border-color: rgba(var(--sub-color-rgb), .5); box-shadow: var(--hp-shadow); }
.hp-compare-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--sub-color-rgb), .15); color: #1f9a33; }
.hp-compare h5 { font-size: 1.05rem; margin: .2rem 0 .35rem; color: var(--hp-ink); }
.hp-compare p { margin: 0; color: var(--hp-muted); line-height: 1.65; }

.hp-faq { max-width: 860px; margin: 0 auto; display: grid; gap: .75rem; }
.hp-faq-item { background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.hp-faq-item[open] { border-color: rgba(var(--main-color-rgb), .25); box-shadow: var(--hp-shadow); }
.hp-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; font-weight: 700; color: var(--hp-ink); font-size: 1.05rem; }
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--main-color-rgb), .08); color: var(--main-color); transition: transform .3s ease; font-size: .8rem; }
.hp-faq-item[open] summary i { transform: rotate(45deg); }
.hp-faq-item p { margin: 0; padding: 0 1.35rem 1.25rem; color: var(--hp-muted); line-height: 1.75; }

/* Process steps */
.hp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: none; position: relative; }
.hp-step { position: relative; text-align: center; }
.hp-step-num {
    position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%; margin-bottom: -26px;
    background: var(--hp-grad); color: #fff; font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 0 0 6px #f6faff, 0 10px 22px -10px rgba(var(--main-color-rgb), .8);
}
.hp-step-body { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 2.4rem 1.4rem 1.6rem; box-shadow: var(--hp-shadow); height: calc(100% - 26px); transition: transform .35s ease, box-shadow .35s ease; }
.hp-step:hover .hp-step-body { transform: translateY(-5px); box-shadow: var(--hp-shadow-hover); }
.hp-step-icon { display: block; color: var(--main-color); font-size: 1.5rem; margin-bottom: .6rem; }
.hp-step-meta { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sub-color); margin-bottom: .3rem; }
.hp-step h4 { font-size: 1.15rem; color: var(--hp-ink); margin-bottom: .45rem; }
.hp-step p { margin: 0; color: var(--hp-muted); line-height: 1.65; }
@media (min-width: 992px) {
    .hp-steps::before { content: ""; position: absolute; top: 26px; inset-inline: 8%; height: 2px; background: repeating-linear-gradient(90deg, rgba(var(--main-color-rgb), .35) 0 8px, transparent 8px 16px); }
}

/* Free session CTA */
.hp-cta { position: relative; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--hp-grad) border-box; border-radius: 28px; padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); box-shadow: 0 40px 80px -40px rgba(var(--main-color-rgb), .45); }
.hp-cta .free-session-icon { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: var(--hp-grad); color: #fff; }
.hp-cta .free-session-icon .fa-3x { font-size: 2rem; }
.hp-privacy { max-width: 520px; margin-inline: auto; }

/* Contact */
.hp-contact-illustration { max-width: 250px; opacity: .85; margin-inline: auto; }

/* Hero refinements */
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (max-width: 991.98px) { .hero-actions { justify-content: center; } }
.hero-actions .btn { margin: 0 !important; }
.hero-btn-ghost {
    color: #fff !important; background: transparent !important; border: 1px solid rgba(255, 255, 255, .35) !important;
    border-radius: 999px !important; font-weight: 600; text-transform: none; box-shadow: none !important;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hero-btn-ghost:hover { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .7) !important; transform: translateY(-2px); }
.hero-pricing-note { margin: 1.1rem 0 1rem; color: #fff; font-size: 1.05rem; font-weight: 700; opacity: .95; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mockup-dot--red { background: #ff5f57; } .mockup-dot--amber { background: #febc2e; } .mockup-dot--green { background: #28c840; }
.mockup-window-title { font-size: .75rem; }

@media (max-width: 575.98px) {
    .hp-card, .hp-quote { padding: 1.4rem 1.25rem; }
    .hp-card--feature { text-align: center; }
    .hp-card--feature .hp-icon { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-card, .hp-icon, .hp-step-body, .hp-faq-item summary i { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   Inline Popup Live Chat Widget (bottom-right slide-up panel)
   ══════════════════════════════════════════════════════════════ */
.inline-chat-dialog {
    position: fixed;
    inset: auto 20px 88px auto;
    margin: 0;
    padding: 0;
    width: min(380px, calc(100vw - 28px));
    height: min(520px, calc(100dvh - 120px));
    border: 1px solid rgba(0, 33, 87, 0.12);
    border-radius: 22px;
    background: #ffffff;
    color: var(--hp-ink, #002157);
    box-shadow: 0 24px 60px rgba(0, 33, 87, 0.24), 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 1060;
    overflow: hidden;
    overscroll-behavior: contain;
}
.inline-chat-dialog[open] {
    display: flex;
    flex-direction: column;
    animation: inlineChatSlideUp 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes inlineChatSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.inline-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--main-color, #0d6efd) 0%, var(--sub-color, #198754) 100%);
    color: #fff;
    flex-shrink: 0;
}
.inline-chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.inline-chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.inline-chat-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.2;
}
.inline-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    opacity: 0.92;
    margin-top: 2px;
}
.inline-chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
}
.inline-chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.inline-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}
.inline-chat-messages {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 14px 10px;
    background: #f6f9fc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.inline-chat-msg {
    max-width: 85%;
    padding: 10px 13px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
}
.inline-chat-msg--support {
    align-self: flex-start;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(0, 33, 87, 0.08);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 33, 87, 0.04);
}
.inline-chat-msg--visitor {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--main-color, #0d6efd) 0%, var(--sub-color, #198754) 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(var(--main-color-rgb, 13, 110, 253), 0.22);
}
.inline-chat-msg-meta {
    display: block;
    font-size: 0.68rem;
    opacity: 0.72;
    margin-top: 4px;
}
.inline-chat-typing {
    padding: 4px 14px;
    font-size: 0.76rem;
    color: #64748b;
    background: #f6f9fc;
    font-style: italic;
}
.inline-chat-notice {
    padding: 6px 12px;
    font-size: 0.78rem;
    color: #b45309;
    background: #fef3c7;
    text-align: center;
}
.inline-chat-composer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 33, 87, 0.08);
    flex-shrink: 0;
}
.inline-chat-input {
    flex: 1;
    border: 1px solid rgba(0, 33, 87, 0.16);
    border-radius: 18px;
    padding: 9px 14px;
    font-size: 0.9rem;
    line-height: 1.35;
    resize: none;
    max-height: 96px;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.inline-chat-input:focus {
    border-color: var(--main-color, #0d6efd);
    background: #ffffff;
}
.inline-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--main-color, #0d6efd) 0%, var(--sub-color, #198754) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.inline-chat-send:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.04);
}
.inline-chat-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
@media (max-width: 575.98px) {
    .inline-chat-dialog {
        inset: auto 12px 78px 12px;
        width: auto;
        height: min(470px, calc(100dvh - 100px));
    }
}
