/* Fixed Telegram contact (bottom-right), driven by /api/config/telegram */

.telegram-float-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #0088cc;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    line-height: 1;
    max-width: calc(100vw - 40px);
}

.telegram-float-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 136, 204, 0.5), 0 3px 8px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.telegram-float-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.telegram-float-btn svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: block;
}

.telegram-float-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

@media (max-width: 480px) {
    .telegram-float-btn {
        right: 12px;
        bottom: 16px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .telegram-float-label {
        max-width: 140px;
    }
}
