/* ===== TELEGRAM BUTTON STYLES ===== */
/* Стили для кнопки подключения Telegram бота */
/* Версия: 1.0 */

/* Контейнер кнопки Telegram */
.telegram-button {
    position: relative;
    display: inline-block;
    margin-right: 12px;
}

/* Кнопка Telegram */
.telegram-button-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #FFFFFF;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 600;
    min-width: 140px;
    height: 44px;
    text-decoration: none;
}

.telegram-button-btn:hover {
    background: rgba(0, 136, 204, 0.08);
    border-color: rgba(0, 136, 204, 0.2);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.15);
}

/* Иконка Telegram */
.telegram-icon {
    width: 20px;
    height: 20px;
    fill: #0088cc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.telegram-button-btn:hover .telegram-icon {
    fill: #00a8ff;
}

/* Текст кнопки */
.telegram-text {
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.telegram-button-btn:hover .telegram-text {
    color: #00a8ff;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .telegram-button-btn {
        min-width: 120px;
        height: 40px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .telegram-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .telegram-button-btn {
        min-width: 100px;
        height: 36px;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .telegram-icon {
        width: 16px;
        height: 16px;
    }
    
    .telegram-text {
        display: none;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .telegram-button-btn {
        min-height: 44px;
        min-width: 44px;
    }
}
