/* Round WhatsApp button fixed in the bottom-right corner of every page.
   «? Жардам» (tour.css) sits above it at bottom: 88px. */
.wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1f8f4e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .2);
    transition: background var(--transition-fast, .15s), transform var(--transition-fast, .15s);
}
.wa-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}
.wa-float:hover,
.wa-float:focus-visible {
    background: #146236;
    color: #fff;
    transform: translateY(-2px);
}
.wa-float:focus-visible {
    outline: 2px solid #1f8f4e;
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .wa-float { transition: none; }
    .wa-float:hover, .wa-float:focus-visible { transform: none; }
}
@media print {
    .wa-float { display: none; }
}

/* Outlined WhatsApp button used inside pages (feedback, comments, account). */
.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1.5px solid #1f8f4e;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: #1a7a43;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--transition-fast);
}
.wa-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: none;
}
.wa-btn:hover,
.wa-btn:focus-visible {
    background: #e8f6ee;
    color: #146236;
}
.wa-btn:focus-visible {
    outline: 2px solid #1f8f4e;
    outline-offset: 2px;
}
:root[data-theme="dark"] .wa-btn {
    color: #6fd39a;
    border-color: #4cb97c;
}

/* Telegram and «Текстти көчүрүү» buttons beside the WhatsApp one. */
.receipt-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-btn.tg-btn { border-color: #1d82b8; color: #176c9a; }
.wa-btn.tg-btn:hover,
.wa-btn.tg-btn:focus-visible { background: #e6f3fa; color: #115779; outline-color: #1d82b8; }
.wa-btn.copy-btn { border-color: var(--border-subtle, #c9d2dc); color: var(--text, #24303c); font-family: inherit; font-size: inherit; cursor: pointer; }
.wa-btn.copy-btn:hover,
.wa-btn.copy-btn:focus-visible { background: var(--surface-alt, #f3f5f8); outline-color: var(--border-subtle, #c9d2dc); }
.copy-btn svg { width: 18px; height: 18px; fill: currentColor; }
:root[data-theme="dark"] .wa-btn.tg-btn { color: #7cc4ea; border-color: #4ea8d8; }
:root[data-theme="dark"] .wa-btn.copy-btn { color: inherit; }
:root[data-theme="dark"] .wa-btn:hover,
:root[data-theme="dark"] .wa-btn:focus-visible {
    background: rgba(76, 185, 124, .15);
    color: #8fe3b3;
}

/* Bar under the header when the trial or plan ends soon (renewal_notice). */
.renewal-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    max-width: 1140px;
    margin: 16px auto 0;
    padding: 14px 18px;
    background: var(--surface, #fff);
    border: 1px solid var(--border-subtle, #e6ebf1);
    border-left: 4px solid #d98a00;
    border-radius: var(--radius-md, 12px);
}
.renewal-bar.is-ended {
    border-left-color: #c0392b;
}
.renewal-bar p {
    margin: 0;
    flex: 1 1 320px;
    color: var(--text);
    line-height: 1.5;
}
.renewal-bar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}
.renewal-bar-btn {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-sm, 8px);
    background: var(--color-bootstrap-primary, #0d6efd);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.renewal-bar-btn:hover,
.renewal-bar-btn:focus-visible {
    background: var(--color-navy, #0f3c58);
}
.renewal-bar-btn:focus-visible {
    outline: 2px solid var(--color-navy, #0f3c58);
    outline-offset: 2px;
}
.renewal-bar-link {
    font-weight: 600;
    color: #1a7a43;
}
:root[data-theme="dark"] .renewal-bar-link { color: #6fd39a; }
